ICTNode#

class relsad.network.components.ICTNode(name: str, coordinate: list = [0, 0], fail_rate_per_year: float = 0.0, repair_time_dist: relsad.StatDist.StatDist.StatDist = <relsad.StatDist.StatDist.StatDist object>)[source]#

Common base class for all ICT nodes

name#

Name of the ICT node

Type

string

coordinate#

Coordinate of the ICT node

Type

list

toline#

Tells which line that is going into the ICT node

Type

Line

fromline#

Tells which line that is going out of the ICT node

Type

Line

toline_list#

List of lines going into the ICT node

Type

list

fromline_list#

List of lines going from the ICT node

Type

list

connected_lines#

List of connected lines

Type

List

parent_network#

Parent ICT network of the ICT node

Type

ICTNetwork

fail_rate_per_year#

The failure rate per year for the transformer at the ICT node

Type

float

repair_time_dist#

The repair time of the transformer at the ICT node [hours/fault]

Type

StatDist

remaining_outage_time#

The remaining outage time of the ICT node

Type

Time

acc_outage_time#

The accumulated outage time of the transformer at the ICT node

Type

Time

avg_outage_time#

The average outage time of the transformer at the ICT node

Type

Time

avg_fail_rate#

The average failure rate of the transformer at the ICT node

Type

float

num_consecutive_interruptions#

Number of consecutive interruptions a ICT node experiences

Type

float

interruption_fraction#

The interruption fraction of the ICT node

Type

float

acc_interruptions#

Accumulated interruption duration a ICT node experiences

Type

float

history#

Dictonary attribute that stores the historic variables

Type

dict

monte_carlo_history#

Dictonary attribute that stores the historic variables from the Monte Carlo simulation

Type

dict

draw_repair_time(dt)[source]#

Decides and returns the repair time of the trafo based on a statistical distribution

fail(dt)[source]#

Sets the ICT node status to failed

not_fail()[source]#

Sets the ICT node to not failed

update_fail_status(dt)[source]#

Updates the fail status of the ICT node. Sets the fail status to failed if the ICT node is failed or the fail status to not failed if the ICT node is not failed

print_status()[source]#

Prints the status of the ICT node

initialize_history()[source]#

Initializes the history variables

update_history(prev_time, curr_time, save_flag)[source]#

Updates the history variables

get_history(attribute)[source]#

Returns the history variables of an attribute at the ICT node

add_random_instance(random_gen)[source]#

Adds global random seed

get_avg_fail_rate(curr_time)[source]#

Returns the average failure rate of the ICT node

reset_status(save_flag)[source]#

Resets and sets the status of the class parameters

get_monte_carlo_history(attribute)[source]#

Returns a specified history variable from the Monte Carlo simulation

ICTNode.add_random_instance(random_gen)

Adds global random seed

ICTNode.draw_repair_time(dt)

Decides and returns the repair time of the trafo based on a statistical distribution

ICTNode.fail(dt)

Sets the ICT node status to failed

ICTNode.get_avg_fail_rate(curr_time)

Returns the average failure rate of the ICT node

ICTNode.get_history(attribute)

Returns the history variables of an attribute at the ICT node

ICTNode.get_monte_carlo_history(attribute)

Returns a specified history variable from the Monte Carlo simulation

ICTNode.get_neighbor_nodes()

Returns the neighboring nodes of the node

ICTNode.initialize_history()

Initializes the history variables

ICTNode.not_fail()

Sets the ICT node status to not failed

ICTNode.print_status()

Prints the status of the ICT node

ICTNode.reset_status(save_flag)

Resets and sets the status of the class parameters

ICTNode.update_fail_status(dt)

Updates the fail status of the ICT node.

ICTNode.update_history(prev_time, curr_time, ...)

Updates the history variables

ICTNode.handle

ICTNode.marker

ICTNode.ps_random

ICTNode.size