ICTNode
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_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
- fail_rate_per_year#
The failure rate per year for the transformer at the ICT node
- Type
float
- 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
- 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
- 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.handleICTNode.markerICTNode.ps_randomICTNode.size