SubSystem#

class relsad.network.systems.SubSystem[source]#

Class defining a sub system network type …

name#

Name of the sub system

Type

str

slack#

The system slack bus, used for power flow calculations

Type

Bus

buses#

List of all buses in the sub system

Type

list

ev_parks#

List of all EV parks in the sub system

Type

list

batteries#

List of all batteries in the sub system

Type

list

production#

List of all generation units in the sub system

Type

list

lines#

List of all lines in the sub system

Type

list

sensors#

List of all sensors in the sub system

Type

list

circuitbreaker#

List of all circuit breakers in the sub system

Type

list

disconnectors#

List of all disconnectors in the sub system

Type

list

intelligent_switch#

List of all intelligent switches in the sub system

Type

list

comp_list#

List containing the components in the sub system

Type

list

comp_dict#

Dictionary containing the components in the sub system

Type

dict

child_network_list#

List containing the child networks to the sub system

Type

list

add_bus(bus)[source]#

Adding a bus including elements on the bus (battery, generation unit, EV park) to the sub system

add_buses(buses)[source]#

Adding buses to the sub system

add_line(Line)[source]#

Adding a line including elements on the line (sensor, circuit breaker, disconnector) to the sub system

add_lines(lines)[source]#

Adding lines to the sub system

add_cild_network(network)#

Adding child network to the sub system

get_system_load_balance()[source]#

Returns the load balance of the system

update_batteries(fail_duration, dt)[source]#

Updates the batteries in the sub system

update_ev_parks(fail_duration, dt, start_time, curr_time)[source]#

Updates the EV parks in the sub system

reset_load_flow_data()[source]#

Reset the variables used in the load flow analysis

SubSystem.add_bus(bus)

Adding a bus including elements on the bus (battery, generation unit, EV park) to the sub system

SubSystem.add_buses(buses)

Adding buses to the sub system

SubSystem.add_child_network(network)

Adding child network to the sub system

SubSystem.add_line(line)

Adding a line including elements on the line (sensor, circuit breaker, disconnector) to the sub system

SubSystem.add_lines(lines)

Adding lines to the sub system

SubSystem.get_system_load_balance()

Returns the load balance of the system

SubSystem.reset_load_flow_data()

Reset the variables used in the load flow analysis

SubSystem.update_batteries(fail_duration, dt)

Updates the batteries in the sub system

SubSystem.update_ev_parks(fail_duration, dt, ...)

Updates the EV parks in the sub system

SubSystem.color

SubSystem.counter