pydynamicestimator.run
Functions
|
Warn (but continue) when an inverter's output-filter realization is |
|
Initialize function and run appropriate routines |
|
Plot voltage and differential states based on configuration settings. |
|
Remove all attributes from a module, preparing it for a clean reload. |
|
Module Contents
- pydynamicestimator.run.warn_filter_network_mismatch(device_list, line_dyn: bool) None[source]
Warn (but continue) when an inverter’s output-filter realization is physically incoherent with the network model.
A quasi-static filter (e.g.
LCL_static– the six filter quantities realized as algebraic variables) zeroes the fast LCL dynamics and so presumes a quasi-static network (line_dyn=False); a dynamic filter (LCL– those quantities as differential states) keeps them and presumes a dynamic network (line_dyn=True). The opposite pairings are physically incoherent (design doc Section 6) – a deliberately odd pairing is allowed, but flagged.An inverter’s filter realization is read from the filter strategy’s own
algebs(): a quasi-static realization declares its quantities as private algebraics, a dynamic one declares none. (Asking the filter directly, rather than the host’s aggregate_algebs_int, keeps this correct once other strategies – e.g. a current limiter – start declaring their own algebraics.) Non-inverter devices have no_filterand are skipped.- Parameters:
line_dyn (bool)
- Return type:
None
- pydynamicestimator.run.run(config: pydynamicestimator.config.Config) tuple[pydynamicestimator.system.DaeEst, pydynamicestimator.system.DaeSim][source]
Initialize function and run appropriate routines
- Parameters:
config (pydynamicestimator.config.Config)
- Return type:
tuple[pydynamicestimator.system.DaeEst, pydynamicestimator.system.DaeSim]
- pydynamicestimator.run.fplot(config: pydynamicestimator.config.Config)[source]
Plot voltage and differential states based on configuration settings.
- Parameters:
config (pydynamicestimator.config.Config)