Distribution
Distribution#
- class relsad.network.systems.Distribution(parent_network: relsad.network.systems.PowerNetwork.PowerNetwork, connected_line: relsad.network.components.Line.Line)[source]#
Class defining a distribution network type
…
- name#
Name of the distribution network
- Type
str
- buses#
List containing the buses connected to the distribution network
- Type
list
- ev_parks#
List containing the EV parks in the distribution network
- Type
list
- batteries#
List containing the batteries in the distribution network
- Type
list
- productions#
List containing the generation units in the distribution network
- Type
list
- lines#
List containing the lines connected to the distribution network
- Type
list
- sensors#
List containing the sensors in the distribution network
- Type
list
- circuitbreaker#
List containing the circuit breakers in the distribution network
- Type
list
- disconnectors#
List containing the disconnectors in the distribution network
- Type
list
- intelligent_switches#
List containing the intelligent switches in the distribution network
- Type
list
- controller#
The controller for the distribution system
- comp_list#
List containing the components in the distribution network
- Type
list
- comp_dict#
Dictionary containing the components in the distribution network
- Type
dict
- parent_network#
The parent network of the distribution network
- Type
- power_system#
Connects the distribution network to a power system
- Type
- child_network_list#
List containing connected child networks to the distribution network
- Type
list
- failed_line#
Flag stating if the distribution network contains a failed line
- Type
Bool
- p_energy_shed#
Shedded active power load in the distribution network
- Type
float
- acc_p_energy_shed#
The accumulated shedded active power load in the distribution network
- Type
float
- q_energy_shed#
Shedded reactive power load in the distribution network
- Type
float
- acc_q_energy_shed#
The accumulated shedded reactive power load in the distribution network
- Type
float
- connected_line#
Connects the distribution network to the transmission network, the line connecting the distribution network to the transmission network
- Type
- history#
Dictionary containing the history variables of the network
- Type
dict
- monte_carlo_history#
Dictionary containing the history variables from the monte carlo simulation
- Type
dict
- add_connected_line(connected_line)[source]#
Sets the line connecting the distribution system to overlying network
- add_bus(bus)[source]#
Adding a bus including elements on the bus (battery, generation unit, EV park) to the distribution network
- add_line(line)[source]#
Adding a line including elements on the line (sensor, circuit breaker, disconnector) to the distribution network
- get_monte_carlo_history(attribute)[source]#
Returns the specified history variable from the Monte Carlo simulation
- get_system_load()[source]#
Returns the load in the distribution network at the current time in MW and MVar
- reset_energy_shed_variables()[source]#
Resets the energy.shed variables
Distribution.add_bus(bus)Adding a bus including elements on the bus (battery, generation unit, EV park) to the distribution network
Distribution.add_buses(buses)Adding buses to the distribution network bus list
Distribution.add_child_network(network)Adds child network to the distribution network
Distribution.add_connected_line(connected_line)Sets the line connecting the distribution system to overlying network
Distribution.add_line(line)Adding a line and the components connected to the line to the distribution network
Distribution.add_lines(lines)Adding lines to distribution network line list
Distribution.get_history(attribute)Returns the specified history variable
Distribution.get_lines()Returns the lines in the distribution network
Distribution.get_monte_carlo_history(attribute)Returns the specified history variable from the Monte Carlo simulation
Distribution.get_system_load()Returns the system load in the distribution network at the current time in MW and MVar
Distribution.reset_energy_shed_variables()Resets the energy.shed variables
Distribution.reset_slack_bus()Resets the slack bus attribute of the buses in the distribution network
Distribution.busesDistribution.colorDistribution.counterDistribution.linesDistribution.sections