Skip to content

Commit

Permalink
Correction of short circuit words
Browse files Browse the repository at this point in the history
Signed-off-by: Coline PILOQUET <coline.piloquet@rte-france.com>
  • Loading branch information
colinepiloquet committed Feb 7, 2024
1 parent 889ab1a commit a75064f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions pypowsybl/shortcircuit/impl/parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,24 @@ class Parameters: # pylint: disable=too-few-public-methods
"""
Parameters for a short-circuit analysis execution.
Please check the Powsybl's short-circuit APIs documentation, for detailed information.
Please check the PowSyBl short-circuit APIs documentation, for detailed information.
.. currentmodule:: pypowsybl.shortcircuit
Args:
with_fortescue_result: indicates whether the currents and voltages are to be given in three-phase magnitude or
detailed with magnitude and angle on each phase. This parameter also applies to the feeder results and
voltage results.
with_feeder_result: indicates whether the contributions of each feeder to the short circuit current at the fault
with_feeder_result: indicates whether the contributions of each feeder to the short-circuit current at the fault
node should be calculated.
with_limit_violations: indicates whether limit violations should be returned after the calculation. If true, a
list of buses where the calculated shortcircuit current is higher than the maximum admissible current (stored in
list of buses where the calculated short-circuit current is higher than the maximum admissible current (stored in
ip_max in the identifiableShortCircuit extension) or lower than the minimum admissible current (stored in ip_min
in the identifiableShortCircuit extension).
with_voltage_result: indicates whether the voltage profile should be calculated on every node of the network
min_voltage_drop_proportional_threshold: specifies a threshold for filtering the voltage results.
Only nodes where the voltage drop due to the short circuit is greater than this property are retained.
study_type: specifies the type of short circuit study. It can be SUB_TRANSIENT, TRANSIENT or STEADY_STATE.
study_type: specifies the type of short-circuit study. It can be SUB_TRANSIENT, TRANSIENT or STEADY_STATE.
"""

def __init__(self,
Expand Down
2 changes: 1 addition & 1 deletion pypowsybl/shortcircuit/impl/short_circuit_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def set_faults(self, df: DataFrame = None, **kwargs: ArrayLike) -> None:

def run(self, network: Network, parameters: Parameters = None,
provider: str = '', reporter: Reporter = None) -> ShortCircuitAnalysisResult:
""" Runs an short-circuit analysis.
""" Runs a short-circuit analysis.
Args:
network: Network on which the short-circuit analysis will be computed
Expand Down
10 changes: 5 additions & 5 deletions pypowsybl/shortcircuit/impl/short_circuit_analysis_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ def __init__(self, handle: _pypowsybl.JavaHandle, with_fortescue_result: bool):
def fault_results(self) -> pd.DataFrame:
"""
contains the results, for each fault, in a dataframe representation. The rows are fault ids and the columns are:
- status: the status of the computation, can be SUCCESS, NO_SHORTCIRCUIT_DATA (in case the reactances of
- status: the status of the computation, can be SUCCESS, NO_SHORT_CIRCUIT_DATA (in case the reactances of
generators are missing), SOLVER_FAILURE or FAILURE
- short_circuit_power: the value of the shortcircuit power (in MVA)
- time_constant: the duration before reaching the permanent shortcircuit current
- short_circuit_power: the value of the short-circuit power (in MVA)
- time_constant: the duration before reaching the permanent short-circuit current
- current: the current at the fault, either only the three-phase magnitude or detailed with magnitudes and
angles on each phase (in A)
- voltage: the voltage at the fault, either only the three-phase magnitude or detailed with magnitudes and
Expand All @@ -37,7 +37,7 @@ def fault_results(self) -> pd.DataFrame:
@property
def feeder_results(self) -> pd.DataFrame:
"""
contains the contributions of each feeder to the short circuit current, in a dataframe representation. The rows
contains the contributions of each feeder to the short-circuit current, in a dataframe representation. The rows
are the ids of contributing connectable ids sorted by faults and the columns is the current, either in
three-phase magnitude or detailed with magnitude and angle for each phase. The magnitude of the currents are in
A. It should be empty when the parameter with_feeder_result is set to false
Expand All @@ -64,7 +64,7 @@ def limit_violations(self) -> pd.DataFrame:
@property
def voltage_bus_results(self) -> pd.DataFrame:
"""
contains a list of all the short circuit voltage bus results, in a dataframe representation.
contains a list of all the short-circuit voltage bus results, in a dataframe representation.
The rows are for each fault the IDs of the buses sorted by voltage level ID and the columns are:
- initial_voltage_magnitude: the initial voltage at the bus in kV
- voltage_drop_proportional: the voltage drop in percent
Expand Down

0 comments on commit a75064f

Please sign in to comment.