GridCal.Engine.Simulations.StateEstimation package¶
Submodules¶
GridCal.Engine.Simulations.StateEstimation.state_estimation module¶
-
GridCal.Engine.Simulations.StateEstimation.state_estimation.
Jacobian_SE
(Ybus, Yf, Yt, V, f, t, inputs, pvpq)¶ Parameters: - Ybus –
- Yf –
- Yt –
- V –
- f –
- t –
- inputs – instance of StateEstimationInput
- pvpq –
Returns:
-
GridCal.Engine.Simulations.StateEstimation.state_estimation.
dIbr_dV
(Yf, Yt, V)¶ Computes partial derivatives of branch currents w.r.t. voltage :param Yf: :param Yt: :param V: :return:
-
GridCal.Engine.Simulations.StateEstimation.state_estimation.
dSbr_dV
(Yf, Yt, V, f, t)¶ Parameters: - Yf –
- Yt –
- V –
- f –
- t –
Returns:
-
GridCal.Engine.Simulations.StateEstimation.state_estimation.
dSbus_dV
(Ybus, V)¶ Parameters: - Ybus –
- V –
Returns:
-
GridCal.Engine.Simulations.StateEstimation.state_estimation.
solve_se_lm
(Ybus, Yf, Yt, f, t, se_input, ref, pq, pv)¶ Solve the state estimation problem using the Levenberg-Marquadt method :param Ybus: :param Yf: :param Yt: :param f: array with the from bus indices of all the branches :param t: array with the to bus indices of all the branches :param inputs: state estimation imput instance (contains the measurements) :param ref: :param pq: :param pv: :return:
GridCal.Engine.Simulations.StateEstimation.state_stimation_driver module¶
-
class
GridCal.Engine.Simulations.StateEstimation.state_stimation_driver.
StateEstimation
(circuit: GridCal.Engine.Core.multi_circuit.MultiCircuit)¶ Bases:
PySide2.QtCore.QRunnable
-
static
collect_measurements
(circuit: GridCal.Engine.Core.multi_circuit.MultiCircuit, bus_idx, branch_idx)¶ Form the input from the circuit measurements :return: nothing, the input object is stored in this class
-
run
()¶ Run state estimation :return:
-
static
-
class
GridCal.Engine.Simulations.StateEstimation.state_stimation_driver.
StateEstimationInput
¶ Bases:
object
-
clear
()¶ Clear
-
consolidate
()¶ consolidate the measurements into “measurements” and “sigma” :return: measurements, sigma
-
-
class
GridCal.Engine.Simulations.StateEstimation.state_stimation_driver.
StateEstimationResults
(Sbus=None, voltage=None, Sbranch=None, Ibranch=None, loading=None, losses=None, error=None, converged=None, Qpv=None)¶ Bases:
GridCal.Engine.Simulations.PowerFlow.power_flow_results.PowerFlowResults