monee simulation

monee simulation

class monee.simulation.StepHook[source]

Bases: ABC

No docstring provided.

post_run(net, base_net, step)[source]

No docstring provided.

pre_run(net, base_net, step)[source]

No docstring provided.

class monee.simulation.TimeseriesData[source]

Bases: object

No docstring provided.

add_branch_series(branch_id: int, attribute: str, series: list)[source]

No docstring provided.

add_child_series(child_id: int, attribute: str, series: list)[source]

No docstring provided.

add_child_series_by_name(child_name: str, attribute: str, series: list)[source]

No docstring provided.

add_compound_series(compound_id: int, attribute: str, series: list)[source]

No docstring provided.

property branch_id_data

No docstring provided.

property child_id_data

No docstring provided.

property child_name_data

No docstring provided.

property compound_id_data

No docstring provided.

extend(td)[source]

No docstring provided.

class monee.simulation.TimeseriesResult(raw)[source]

Bases: object

No docstring provided.

get_result_for(type, attribute: str)[source]

No docstring provided.

Return type:

pandas.DataFrame

property raw

No docstring provided.

monee.simulation.run_timeseries(net: monee.model.network.Network, timeseries_data: monee.simulation.timeseries.TimeseriesData, steps: int, step_hooks: list[monee.simulation.timeseries.StepHook | collections.abc.Callable] = None, solver=None, optimization_problem=None, solve_flag=True)

No docstring provided.

monee.simulation.solve(net: monee.model.network.Network, optimization_problem: monee.problem.core.OptimizationProblem, solver=None, **kwargs)[source]

No docstring provided.