hermess.run

Functions

warn_filter_network_mismatch(→ None)

Warn (but continue) when an inverter's output-filter realization is

run(→ hermess.system.DaeSim)

Initialize and run the dynamic simulation.

fplot(config)

Plot voltage and differential states from the simulation.

clear_module(module_name)

Remove all attributes from a module, preparing it for a clean reload.

Module Contents

hermess.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 (LCL_static, the six filter quantities as algebraic variables) zeroes the fast LCL dynamics and presumes a quasi-static network (line_dyn=False); a dynamic filter (LCL, those quantities as differential states) presumes a dynamic network (line_dyn=True). The crossed pairings are physically incoherent and flagged.

The 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. Non-inverter devices have no _filter and are skipped.

Parameters:

line_dyn (bool)

Return type:

None

hermess.run.run(config: hermess.config.Config) hermess.system.DaeSim[source]

Initialize and run the dynamic simulation.

Parameters:

config (hermess.config.Config)

Return type:

hermess.system.DaeSim

hermess.run.fplot(config: hermess.config.Config)[source]

Plot voltage and differential states from the simulation.

Parameters:

config (hermess.config.Config)

hermess.run.clear_module(module_name)[source]

Remove all attributes from a module, preparing it for a clean reload.