Simulation
Simulation#
- class relsad.simulation.Simulation(power_system: relsad.network.systems.PowerSystem.PowerSystem, random_seed: Optional[int] = None)[source]#
Common class for simulation
…
- power_system#
A PowerSystem element
- Type
- random_seed#
Random seed number
- Type
int
- run_increment(inc_idx, start_time, prev_time, curr_time, save_flag)[source]#
Runs power system at current state for on time increment
- run_sequence(start_time, time_array, time_unit, save_flag)[source]#
Runs power system for a sequence of increments
- run_sequential(start_time, stop_time, time_step, time_unit, save_dir, save_flag)[source]#
Runs a sequential simulation with the power system
- run_iteration(it, start_time, time_array, time_unit, save_dir, save_iterations, random_seed)[source]#
Runs a sequential iteration with the power system
- run_monte_carlo(iterations, start_time, stop_time, time_step, time_unit, save_iterations, save_dir, n_procs, debug)[source]#
Runs Monte Carlo simulation of the power system
Simulation.distribute_random_instance(...)Adds a global numpy random instance
Simulation.run_increment(inc_idx, ...[, ...])Runs power system at current state for one time increment
Simulation.run_iteration(it, start_time, ...)Runs power system for an iteration
Simulation.run_load_flow(network)Runs load flow of a network
Simulation.run_monte_carlo(iterations, ...)Runs Monte Carlo simulation of the power system
Simulation.run_sequence(start_time, ...[, ...])Runs power system for a sequence of increments
Simulation.run_sequential(start_time, ...[, ...])Runs sequential simulation of the power system