Technical Documentation#
RA2CE#
Ra2ce semantics#
Structure description#
This package is divided into different (sub-)packages, the most relevants being the following:
network, this (sub-)package contains the logic to retrieve a normalized data structure capable of representing all the required properties of a network for its later analysis.analysis, this (sub-)package is responsible to execute an analysis (damagesorlosses) for the given network.runners, this (sub-)package encapsulates the logic to automatize an analysis of a ra2ce model.
Other (sub-)packages carry a more ‘supporting’ role, such as:
common, a (sub-)package mostly contaning generic definitions as protocols (typing.Protocol) to be used across the whole project.configuration, a subpackage responsible to parse the ra2ce.iniconfiguration files (for network and analysis) into their corresponding dataclasses. It is worth mentioning this subpackage is explicitely outsidecommonto avoid circular dependencies with theanalysisandnetworksubpackages.
General class overview#
A general overview of the package relationships can be seen in the following diagram.
|
|---|
Ra2ce package overview |
