Simulation

class ospx.simulation.Simulation(name: str | None = None, start_time: float | None = None, stop_time: float | None = None, base_step_size: float | None = None, _algorithm: str | None = None)

Bases: object

Data class holding the attributes of the ‘simulation’ element inside OspSystemStructure.xml.

__init__(name: str | None = None, start_time: float | None = None, stop_time: float | None = None, base_step_size: float | None = None, _algorithm: str | None = None) None

Methods

__init__([name, start_time, stop_time, ...])

Attributes

algorithm

Return the simulation algorithm.

base_step_size

name

start_time

stop_time

property algorithm: str | None

Return the simulation algorithm.

base_step_size: float | None = None
name: str | None = None
start_time: float | None = None
stop_time: float | None = None