ManualMainController
ManualMainController#
- class relsad.network.components.ManualMainController(name: str, sectioning_time: relsad.Time.Time)[source]#
Common class for manual main controller
…
- name#
Name of the manual main controller
- Type
string
- power_system#
The associated power system
- Type
- distribution_controllers#
List of controllers from the distribution systems in the power system
- Type
list
- microgrid_controllers#
List of controllers from the microgrids in the power system
- Type
list
- add_distribution_controller(controller)[source]#
Adds distribution controllers from connected distribution systems to a list and sets the manual sectioning time for the controller
- add_microgrid_controller(controller)[source]#
Adds microgird controllers from connected microgrids to a list and sets the manual sectioning time for the controller
- run_control_loop(curr_time, dt)[source]#
Runs the manual control loop for the distribution system controllers and the microgird controllers
- initialize_history()[source]#
Initializes the history variables
ManualMainController.add_distribution_controller(...)Adds distribution controllers from connected distribution systems to a list and sets the manual sectioning time for the controller
ManualMainController.add_microgrid_controller(...)Adds microgird controllers from connected microgrids to a list and sets the manual sectioning time for the controller
ManualMainController.add_random_instance(...)Adds global random seed
ManualMainController.get_history(attribute)Returns the history variables of an attribute
ManualMainController.initialize_history()Initializes the history variables
ManualMainController.print_status()Prints the status
ManualMainController.reset_status(save_flag)Resets and sets the status of the class parameters
ManualMainController.run_control_loop(...)Runs the manual control loop for the distribution system controllers and the microgird controllers
ManualMainController.update_fail_status(dt)Updates the failure status
ManualMainController.update_history(...)Updates the history variables