Skip to content

Commit

Permalink
Fix units
Browse files Browse the repository at this point in the history
  • Loading branch information
colinepiloquet committed Feb 7, 2024
1 parent 33bb235 commit 889ab1a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions pypowsybl/shortcircuit/impl/short_circuit_analysis_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ 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 that the reactances of
- status: the status of the computation, can be SUCCESS, NO_SHORTCIRCUIT_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
- current: the current at the fault, either only the three-phase magnitude or detailed with magnitudes and
angles on each phase (in kA)
angles on each phase (in A)
- voltage: the voltage at the fault, either only the three-phase magnitude or detailed with magnitudes and
angles on each phase (in kV)
Expand All @@ -38,9 +38,9 @@ def fault_results(self) -> pd.DataFrame:
def feeder_results(self) -> pd.DataFrame:
"""
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 just the current, either in
three-phase magnitude or detailed with magnitude and angle for each phase. The currents are in kV.
It should be empty when the parameter with_feeder_result is set to false
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
"""
return create_data_frame_from_series_array(_pypowsybl.get_feeder_results(self._handle, self._with_fortescue_result))

Expand All @@ -52,10 +52,10 @@ def limit_violations(self) -> pd.DataFrame:
- subject_name: the name of the equipment where the violation occurs
- limit_type: the type of limit violation, can be LOW_SHORT_CIRCUIT_CURRENT or HIGH_SHORT_CIRCUIT_CURRENT
- limit_name
- limit: the value of the limit that is violated (maximum or minimum admissible short-circuit current) in kV
- limit: the value of the limit that is violated (maximum or minimum admissible short-circuit current) in A
- acceptable_duration
- limit_reduction
- value: the calculated short-circuit current that is too high or too low (in kV)
- value: the calculated short-circuit current that is too high or too low (in A)
- side: in case of a limit on a branch, the side where the violation has been detected
It should be empty when the parameter with_limit_violations is set to false
"""
Expand Down

0 comments on commit 889ab1a

Please sign in to comment.