stepss 3.59__tar.gz → 3.70__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. {stepss-3.59/stepss.egg-info → stepss-3.70}/PKG-INFO +7 -13
  2. {stepss-3.59 → stepss-3.70}/stepss/__init__.py +1 -4
  3. {stepss-3.59 → stepss-3.70}/stepss/_bundled.py +1 -1
  4. {stepss-3.59 → stepss-3.70}/stepss/libs/lin/ramses.so +0 -0
  5. {stepss-3.59 → stepss-3.70}/stepss/libs/mac/ramses.so +0 -0
  6. {stepss-3.59 → stepss-3.70}/stepss/libs/ramses.h +3 -0
  7. {stepss-3.59 → stepss-3.70}/stepss/libs/win/ramses.dll +0 -0
  8. {stepss-3.59 → stepss-3.70/stepss.egg-info}/PKG-INFO +7 -13
  9. {stepss-3.59 → stepss-3.70}/LICENSE.rst +0 -0
  10. {stepss-3.59 → stepss-3.70}/MANIFEST.in +0 -0
  11. {stepss-3.59 → stepss-3.70}/README.rst +0 -0
  12. {stepss-3.59 → stepss-3.70}/setup.cfg +0 -0
  13. {stepss-3.59 → stepss-3.70}/setup.py +0 -0
  14. {stepss-3.59 → stepss-3.70}/stepss/cases.py +0 -0
  15. {stepss-3.59 → stepss-3.70}/stepss/extractor.py +0 -0
  16. {stepss-3.59 → stepss-3.70}/stepss/globals.py +0 -0
  17. {stepss-3.59 → stepss-3.70}/stepss/helios.py +0 -0
  18. {stepss-3.59 → stepss-3.70}/stepss/libs/helios_api.h +0 -0
  19. {stepss-3.59 → stepss-3.70}/stepss/libs/lin/libhelios_api.so +0 -0
  20. {stepss-3.59 → stepss-3.70}/stepss/libs/mac/libhelios_api.dylib +0 -0
  21. {stepss-3.59 → stepss-3.70}/stepss/libs/win/helios_api.dll +0 -0
  22. {stepss-3.59 → stepss-3.70}/stepss/scripts/__init__.py +0 -0
  23. {stepss-3.59 → stepss-3.70}/stepss/scripts/exec.py +0 -0
  24. {stepss-3.59 → stepss-3.70}/stepss/simulator.py +0 -0
  25. {stepss-3.59 → stepss-3.70}/stepss.egg-info/SOURCES.txt +0 -0
  26. {stepss-3.59 → stepss-3.70}/stepss.egg-info/dependency_links.txt +0 -0
  27. {stepss-3.59 → stepss-3.70}/stepss.egg-info/entry_points.txt +0 -0
  28. {stepss-3.59 → stepss-3.70}/stepss.egg-info/requires.txt +0 -0
  29. {stepss-3.59 → stepss-3.70}/stepss.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: stepss
3
- Version: 3.59
3
+ Version: 3.70
4
4
  Summary: Python interface to the STEPSS power-system simulation platform.
5
5
  Home-page: https://stepss.sps-lab.org
6
6
  Author: Petros Aristidou
@@ -55,7 +55,7 @@ STEPSS is delivered in two editions, which drive the same simulation engines and
55
55
  - **STEPSS for Python**, this package. ``pip install stepss``, then script simulations from Python or a Jupyter notebook.
56
56
  - **STEPSS for Java**, a desktop application. A single ``stepss.jar`` with a graphical interface, published on the `releases page <https://github.com/SPS-L/stepss-java-ui/releases>`_.
57
57
 
58
- Neither is a wrapper around the other: they are two front ends onto the same Fortran engines, and a case built in one runs unchanged in the other. Pick this one to automate, sweep parameters, or work inside the scientific Python stack; pick the Java edition for interactive work, or for the model-building and curve-viewing tools it carries that this edition does not (see `Choosing an edition`_).
58
+ Neither is a wrapper around the other: they are two front ends onto the same Fortran engines, and a case built in one runs unchanged in the other. Pick this one to automate, sweep parameters, or work inside the scientific Python stack; pick the Java edition for interactive point-and-click work, or to build your own models with CODEGEN (see `Choosing an edition`_).
59
59
 
60
60
  What this edition bundles
61
61
  -------------------------
@@ -70,10 +70,11 @@ Pre-compiled shared libraries for Linux, Windows and macOS ship inside the wheel
70
70
  Choosing an edition
71
71
  -------------------
72
72
 
73
- Two capabilities live only in the Java edition, because they are separate executables rather than libraries:
73
+ One capability lives only in the Java edition:
74
74
 
75
- - **CODEGEN**, which translates user-written model descriptions into Fortran 2003 and compiles them into a custom simulator. Writing your own exciter, governor or injector needs the Java edition or the `CODEGEN toolchain <https://stepss.sps-lab.org/developer/user-models/>`_ directly.
76
- - **DYNGRAPH**, the interactive trajectory viewer. This edition reads trajectories into NumPy instead, which is usually what you want from Python.
75
+ - **CODEGEN**, which translates user-written model descriptions into Fortran 2003 and compiles them into a custom simulator. Writing your own exciter, governor or injector needs the Java edition, or the `CODEGEN toolchain <https://stepss.sps-lab.org/developer/user-models/>`_ directly.
76
+
77
+ **Trajectory viewing exists in both editions**, by different means. The Java edition launches DYNGRAPH, a separate viewer executable. This edition carries its own equivalent, written in Python on top of Matplotlib: ``extractor`` reads a ``.trj`` file into NumPy arrays, and ``curplot`` or a curve's own ``.plot()`` draws them. The results stay in the process as ordinary arrays, so they can be sliced, compared across runs, or handed to any other Python library, and plotting is a method call rather than a separate program.
77
78
 
78
79
  Everything else, running dynamic simulations and power flows against the same engines and data files, is available here.
79
80
 
@@ -84,7 +85,7 @@ Key Features
84
85
  - **Runtime interaction** - query bus voltages, branch flows, and component observables while paused; inject disturbances on-the-fly
85
86
  - **Trajectory post-processing** - extract and plot time-series results from Fortran binary trajectory files
86
87
  - **Parameter sweeps** - script multiple simulations with varying parameters or disturbances
87
- - **Eigenanalysis support** - export system Jacobian matrices for small-signal stability analysis
88
+ - **Small-signal stability analysis** - compute eigenvalues, damping ratios, participation factors and mode shapes in the engine, or export the system Jacobian and drive your own solver. See ``examples/eigenanalysis/`` for an annotated walkthrough
88
89
  - **AC power flow** - the ``stepss.helios`` module runs Helios power flows: solve, modify with redispatch, N-1 contingency screening, and file exports
89
90
  - **Shared data files** - the same ``.dat``, ``.dst`` and ``.obs`` files run in the Java edition, so a case can move between the two
90
91
  - **Scientific Python integration** - works natively with NumPy, SciPy, Matplotlib, and Jupyter
@@ -104,13 +105,6 @@ Minimal installation (no plotting or notebook support)::
104
105
 
105
106
  **Optional:** Install `Gnuplot <http://www.gnuplot.info/>`_ to enable real-time observable plots during simulation. stepss will still work without it, but runtime plots will be disabled.
106
107
 
107
- Renamed from PyRAMSES
108
- ~~~~~~~~~~~~~~~~~~~~~
109
-
110
- This package was published as ``pyramses`` up to version 3.58. Existing code
111
- keeps working: ``pip install pyramses`` now installs a shim that forwards to
112
- this package. New code should use ``import stepss``.
113
-
114
108
  Linux System Prerequisites
115
109
  ~~~~~~~~~~~~~~~~~~~~~~~~~~
116
110
 
@@ -19,13 +19,10 @@ Module-level flags set at import time:
19
19
 
20
20
  - ``__runTimeObs__`` - ``True`` when gnuplot is available on the system PATH and runtime
21
21
  observable plots are therefore enabled; ``False`` otherwise.
22
-
23
- This package was previously distributed as ``pyramses``. The ``pyramses``
24
- distribution on PyPI is now a forwarding shim onto this one.
25
22
  """
26
23
 
27
24
  __package_name__ = "stepss"
28
- __version__ = '3.59'
25
+ __version__ = '3.70'
29
26
  __author__ = "Petros Aristidou"
30
27
  __copyright__ = "Petros Aristidou"
31
28
  __license__ = "Apache-2.0"
@@ -9,5 +9,5 @@ RAMSES_VERSION is also what the stepss version number is built from, so the
9
9
  leading components of __version__ always name the library bundled here.
10
10
  """
11
11
 
12
- RAMSES_VERSION = "v3.59"
12
+ RAMSES_VERSION = "v3.70"
13
13
  HELIOS_VERSION = "v1.4.1"
@@ -39,3 +39,6 @@ int addObserv(char *string);
39
39
  int finalObserv(void);
40
40
  int get_last_err_log(char *msg);
41
41
  int get_Jac(void);
42
+ int run_ssa(char *basename, double real_limit, double pf_threshold);
43
+ int get_state_matrix_size(int *nx);
44
+ int get_state_matrix(int nx, double *a_sys);
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: stepss
3
- Version: 3.59
3
+ Version: 3.70
4
4
  Summary: Python interface to the STEPSS power-system simulation platform.
5
5
  Home-page: https://stepss.sps-lab.org
6
6
  Author: Petros Aristidou
@@ -55,7 +55,7 @@ STEPSS is delivered in two editions, which drive the same simulation engines and
55
55
  - **STEPSS for Python**, this package. ``pip install stepss``, then script simulations from Python or a Jupyter notebook.
56
56
  - **STEPSS for Java**, a desktop application. A single ``stepss.jar`` with a graphical interface, published on the `releases page <https://github.com/SPS-L/stepss-java-ui/releases>`_.
57
57
 
58
- Neither is a wrapper around the other: they are two front ends onto the same Fortran engines, and a case built in one runs unchanged in the other. Pick this one to automate, sweep parameters, or work inside the scientific Python stack; pick the Java edition for interactive work, or for the model-building and curve-viewing tools it carries that this edition does not (see `Choosing an edition`_).
58
+ Neither is a wrapper around the other: they are two front ends onto the same Fortran engines, and a case built in one runs unchanged in the other. Pick this one to automate, sweep parameters, or work inside the scientific Python stack; pick the Java edition for interactive point-and-click work, or to build your own models with CODEGEN (see `Choosing an edition`_).
59
59
 
60
60
  What this edition bundles
61
61
  -------------------------
@@ -70,10 +70,11 @@ Pre-compiled shared libraries for Linux, Windows and macOS ship inside the wheel
70
70
  Choosing an edition
71
71
  -------------------
72
72
 
73
- Two capabilities live only in the Java edition, because they are separate executables rather than libraries:
73
+ One capability lives only in the Java edition:
74
74
 
75
- - **CODEGEN**, which translates user-written model descriptions into Fortran 2003 and compiles them into a custom simulator. Writing your own exciter, governor or injector needs the Java edition or the `CODEGEN toolchain <https://stepss.sps-lab.org/developer/user-models/>`_ directly.
76
- - **DYNGRAPH**, the interactive trajectory viewer. This edition reads trajectories into NumPy instead, which is usually what you want from Python.
75
+ - **CODEGEN**, which translates user-written model descriptions into Fortran 2003 and compiles them into a custom simulator. Writing your own exciter, governor or injector needs the Java edition, or the `CODEGEN toolchain <https://stepss.sps-lab.org/developer/user-models/>`_ directly.
76
+
77
+ **Trajectory viewing exists in both editions**, by different means. The Java edition launches DYNGRAPH, a separate viewer executable. This edition carries its own equivalent, written in Python on top of Matplotlib: ``extractor`` reads a ``.trj`` file into NumPy arrays, and ``curplot`` or a curve's own ``.plot()`` draws them. The results stay in the process as ordinary arrays, so they can be sliced, compared across runs, or handed to any other Python library, and plotting is a method call rather than a separate program.
77
78
 
78
79
  Everything else, running dynamic simulations and power flows against the same engines and data files, is available here.
79
80
 
@@ -84,7 +85,7 @@ Key Features
84
85
  - **Runtime interaction** - query bus voltages, branch flows, and component observables while paused; inject disturbances on-the-fly
85
86
  - **Trajectory post-processing** - extract and plot time-series results from Fortran binary trajectory files
86
87
  - **Parameter sweeps** - script multiple simulations with varying parameters or disturbances
87
- - **Eigenanalysis support** - export system Jacobian matrices for small-signal stability analysis
88
+ - **Small-signal stability analysis** - compute eigenvalues, damping ratios, participation factors and mode shapes in the engine, or export the system Jacobian and drive your own solver. See ``examples/eigenanalysis/`` for an annotated walkthrough
88
89
  - **AC power flow** - the ``stepss.helios`` module runs Helios power flows: solve, modify with redispatch, N-1 contingency screening, and file exports
89
90
  - **Shared data files** - the same ``.dat``, ``.dst`` and ``.obs`` files run in the Java edition, so a case can move between the two
90
91
  - **Scientific Python integration** - works natively with NumPy, SciPy, Matplotlib, and Jupyter
@@ -104,13 +105,6 @@ Minimal installation (no plotting or notebook support)::
104
105
 
105
106
  **Optional:** Install `Gnuplot <http://www.gnuplot.info/>`_ to enable real-time observable plots during simulation. stepss will still work without it, but runtime plots will be disabled.
106
107
 
107
- Renamed from PyRAMSES
108
- ~~~~~~~~~~~~~~~~~~~~~
109
-
110
- This package was published as ``pyramses`` up to version 3.58. Existing code
111
- keeps working: ``pip install pyramses`` now installs a shim that forwards to
112
- this package. New code should use ``import stepss``.
113
-
114
108
  Linux System Prerequisites
115
109
  ~~~~~~~~~~~~~~~~~~~~~~~~~~
116
110
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes