VeraGridEngine.Simulations.PowerFlow3ph packageο
Subpackagesο
- VeraGridEngine.Simulations.PowerFlow3ph.Formulations package
- Submodules
- VeraGridEngine.Simulations.PowerFlow3ph.Formulations.pf_basic_formulation_3ph module
PfBasicFormulation3PhPfBasicFormulation3Ph.Jacobian()PfBasicFormulation3Ph.QmaxPfBasicFormulation3Ph.QminPfBasicFormulation3Ph.S0PfBasicFormulation3Ph.Un_floating_currentPfBasicFormulation3Ph.Un_floating_powerPfBasicFormulation3Ph.YbusPfBasicFormulation3Ph.YfPfBasicFormulation3Ph.Yshunt_busPfBasicFormulation3Ph.YtPfBasicFormulation3Ph.branch_lookupPfBasicFormulation3Ph.bus_lookupPfBasicFormulation3Ph.check_error()PfBasicFormulation3Ph.common_modePfBasicFormulation3Ph.compute_f()PfBasicFormulation3Ph.full_admittancesPfBasicFormulation3Ph.fx()PfBasicFormulation3Ph.generator_currents()PfBasicFormulation3Ph.get_fx_names()PfBasicFormulation3Ph.get_solution()PfBasicFormulation3Ph.get_x_names()PfBasicFormulation3Ph.idx_dPPfBasicFormulation3Ph.idx_dQPfBasicFormulation3Ph.idx_dVaPfBasicFormulation3Ph.idx_dVmPfBasicFormulation3Ph.loggerPfBasicFormulation3Ph.maskPfBasicFormulation3Ph.ncPfBasicFormulation3Ph.no_slackPfBasicFormulation3Ph.pPfBasicFormulation3Ph.positive_sequencePfBasicFormulation3Ph.pqPfBasicFormulation3Ph.pqvPfBasicFormulation3Ph.pvPfBasicFormulation3Ph.retainedPfBasicFormulation3Ph.size()PfBasicFormulation3Ph.update()PfBasicFormulation3Ph.update_bus_types()PfBasicFormulation3Ph.var2x()PfBasicFormulation3Ph.vdPfBasicFormulation3Ph.voltage_liftPfBasicFormulation3Ph.x2var()
calc_autodiff_jacobian()compute_current_loads()compute_generators()compute_power_loads()compute_ybus()compute_ybus_generator()expand3ph()expandVoltage3ph()expand_indices_3ph()expand_magnitudes()expand_matrix()expand_slice_indices_3ph()lookup_from_mask()passive_neutral_reduction()slice_indices()
- Module contents
Submodulesο
VeraGridEngine.Simulations.PowerFlow3ph.power_flow_driver_3ph moduleο
- class VeraGridEngine.Simulations.PowerFlow3ph.power_flow_driver_3ph.PowerFlowDriver3Ph(grid: MultiCircuit, options: PowerFlowOptions | None = None, opf_results: OptimalPowerFlowResults | None = None, engine: EngineType = VeraGrid)[source]ο
Bases:
DriverTemplate- convergence_reports: Listο
- name = 'Power flow 3ph'ο
- opf_results: OptimalPowerFlowResults | Noneο
- options: PowerFlowOptionsο
- tpe = 'Power flow 3ph'ο
Power flow wrapper
VeraGridEngine.Simulations.PowerFlow3ph.power_flow_results_3ph moduleο
- class VeraGridEngine.Simulations.PowerFlow3ph.power_flow_results_3ph.PowerFlowResults3Ph(n: int, m: int, n_hvdc: int, n_vsc: int, n_gen: int, n_batt: int, n_sh: int, n_load: int, bus_names: ndarray, branch_names: ndarray, hvdc_names: ndarray, vsc_names: ndarray, gen_names: ndarray, batt_names: ndarray, sh_names: ndarray, load_names: ndarray, bus_types: ndarray, clustering_results=None)[source]ο
Bases:
ResultsTemplate- CLASS_DATA_VARIABLES = {'F': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'If_A': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'If_B': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'If_C': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'If_N': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'If_vsc': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'It_A': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'It_B': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'It_C': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'It_N': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'It_vsc_A': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'It_vsc_B': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'It_vsc_C': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'Pf_hvdc_A': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'Pf_hvdc_B': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'Pf_hvdc_C': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'Pfp_vsc': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'Pt_hvdc_A': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'Pt_hvdc_B': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'Pt_hvdc_C': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'Sbus_A': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'Sbus_B': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'Sbus_C': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'Sbus_N': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'Sf_A': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'Sf_B': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'Sf_C': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'St_A': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'St_B': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'St_C': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'St_vsc_A': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'St_vsc_B': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'St_vsc_C': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'T': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'Vbranch_A': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'Vbranch_B': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'Vbranch_C': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'area_names': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'batt_names': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'battery_q_A': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'battery_q_B': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'battery_q_C': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'branch_names': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'bus_area_indices': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'bus_names': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'bus_types': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'gen_names': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'gen_q_A': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'gen_q_B': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'gen_q_C': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'hvdc_F': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'hvdc_T': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'hvdc_names': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'load_Vn': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'load_names': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'loading_A': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'loading_B': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'loading_C': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'loading_hvdc': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'loading_vsc': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'losses_A': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'losses_B': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'losses_C': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'losses_hvdc': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'losses_vsc': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'sh_names': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'shunt_Vn': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'shunt_q_A': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'shunt_q_B': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'shunt_q_C': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'tap_angle': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'tap_module': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'voltage_A': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'voltage_B': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'voltage_C': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'voltage_N': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'vsc_names': <VeraGridEngine.Simulations.results_template.ResultsProperty object>}ο
- CLASS_RESULTS_DECLARATIONS = (<VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>)ο
- If_A: ndarray[tuple[Any, ...], dtype[complex128]]ο
- If_B: ndarray[tuple[Any, ...], dtype[complex128]]ο
- If_C: ndarray[tuple[Any, ...], dtype[complex128]]ο
- If_N: ndarray[tuple[Any, ...], dtype[complex128]]ο
- If_vscο
- It_A: ndarray[tuple[Any, ...], dtype[complex128]]ο
- It_B: ndarray[tuple[Any, ...], dtype[complex128]]ο
- It_C: ndarray[tuple[Any, ...], dtype[complex128]]ο
- It_N: ndarray[tuple[Any, ...], dtype[complex128]]ο
- It_vsc_Aο
- It_vsc_Bο
- It_vsc_Cο
- LOCAL_RESULTS_DECLARATIONS = (<VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>)ο
- Pf_hvdc_A: ndarray[tuple[Any, ...], dtype[float64]]ο
- Pf_hvdc_B: ndarray[tuple[Any, ...], dtype[float64]]ο
- Pf_hvdc_C: ndarray[tuple[Any, ...], dtype[float64]]ο
- Pfp_vscο
- Pt_hvdc_A: ndarray[tuple[Any, ...], dtype[float64]]ο
- Pt_hvdc_B: ndarray[tuple[Any, ...], dtype[float64]]ο
- Pt_hvdc_C: ndarray[tuple[Any, ...], dtype[float64]]ο
- Sbus_A: ndarray[tuple[Any, ...], dtype[complex128]]ο
- Sbus_B: ndarray[tuple[Any, ...], dtype[complex128]]ο
- Sbus_C: ndarray[tuple[Any, ...], dtype[complex128]]ο
- Sbus_N: ndarray[tuple[Any, ...], dtype[complex128]]ο
- Sf_A: ndarray[tuple[Any, ...], dtype[complex128]]ο
- Sf_B: ndarray[tuple[Any, ...], dtype[complex128]]ο
- Sf_C: ndarray[tuple[Any, ...], dtype[complex128]]ο
- St_A: ndarray[tuple[Any, ...], dtype[complex128]]ο
- St_B: ndarray[tuple[Any, ...], dtype[complex128]]ο
- St_C: ndarray[tuple[Any, ...], dtype[complex128]]ο
- St_vsc_Aο
- St_vsc_Bο
- St_vsc_Cο
- Vbranch_A: ndarray[tuple[Any, ...], dtype[complex128]]ο
- Vbranch_B: ndarray[tuple[Any, ...], dtype[complex128]]ο
- Vbranch_C: ndarray[tuple[Any, ...], dtype[complex128]]ο
- apply_from_island(results: NumericPowerFlowResults, b_idx: ndarray, br_idx: ndarray, hvdc_idx: ndarray, vsc_idx: ndarray) None[source]ο
Apply results from another island circuit to the circuit results represented here. :param results: NumericPowerFlowResults from an island circuit :param b_idx: bus original indices :param br_idx: branch original indices :param hvdc_idx: hvdc original indices :param vsc_idx: vsc original indices :return: None
- batt_namesο
- battery_q_A: ndarray[tuple[Any, ...], dtype[float64]]ο
- battery_q_B: ndarray[tuple[Any, ...], dtype[float64]]ο
- battery_q_C: ndarray[tuple[Any, ...], dtype[float64]]ο
- branch_names: ndarray[tuple[Any, ...], dtype[str_]]ο
- bus_names: ndarray[tuple[Any, ...], dtype[str_]]ο
- bus_types: ndarray[tuple[Any, ...], dtype[int64]]ο
- compare(other: PowerFlowResults3Ph, tol=1e-06) Tuple[bool, Logger][source]ο
Compare this results with another :param other: PowerFlowResults :param tol: absolute comparison tolerance :return: all ok?, Logger
- property convergedο
Check if converged in all modes :return: True / False
- convergence_reports: List[ConvergenceReport]ο
- property elapsedο
Check if converged in all modes :return: True / False
- property errorο
Check if converged in all modes :return: True / False
- gen_namesο
- gen_q_A: ndarray[tuple[Any, ...], dtype[float64]]ο
- gen_q_B: ndarray[tuple[Any, ...], dtype[float64]]ο
- gen_q_C: ndarray[tuple[Any, ...], dtype[float64]]ο
- get_branch_df() DataFrame[source]ο
Get a DataFrame with the branches results :return: DataFrame, Pf in MW, Qf in MVAr, Pt in MW, Qt in MVAr, loading in %, Ploss in MW, Qloss in MVAr
- get_bus_df() DataFrame[source]ο
Get a DataFrame with the buses results :return: DataFrame, Vm in p.u., Va in deg, P in MW, Q in MVAr
- get_current_3ph_df() DataFrame[source]ο
Get a DataFrame with the current results in p.u. :return: DataFrame
- get_current_unbalance_factor_df() DataFrame[source]ο
Get the Current Unbalance Factor (IUF) :return: DataFrame
- get_load_neutral_voltage_df() DataFrame[source]ο
Get a DataFrame with the load neutral voltage results, Vm in p.u., Va in deg :return: DataFrame
- get_report_dataframe(island_idx=0)[source]ο
Get a DataFrame containing the convergence report.
Arguments:
island_idx: (optional) island index
Returns:
DataFrame
- get_shunt_neutral_voltage_df() DataFrame[source]ο
Get a DataFrame with the load neutral voltage results, Vm in p.u., Va in deg :return: DataFrame
- get_voltage_3ph_df() DataFrame[source]ο
Get a DataFrame with the buses results, Vm in p.u., Va in deg :return: DataFrame
- get_voltage_unbalance_factor_df() DataFrame[source]ο
Get the Voltage Unbalance Factor (VUF) :return: DataFrame
- hvdc_names: ndarray[tuple[Any, ...], dtype[str_]]ο
- property iterationsο
Check if converged in all modes :return: True / False
- load_Vn: ndarray[tuple[Any, ...], dtype[float64]]ο
- load_namesο
- loading_A: ndarray[tuple[Any, ...], dtype[complex128]]ο
- loading_B: ndarray[tuple[Any, ...], dtype[complex128]]ο
- loading_C: ndarray[tuple[Any, ...], dtype[complex128]]ο
- loading_hvdc: ndarray[tuple[Any, ...], dtype[float64]]ο
- loading_vscο
- losses_A: ndarray[tuple[Any, ...], dtype[complex128]]ο
- losses_B: ndarray[tuple[Any, ...], dtype[complex128]]ο
- losses_C: ndarray[tuple[Any, ...], dtype[complex128]]ο
- losses_hvdc: ndarray[tuple[Any, ...], dtype[float64]]ο
- losses_vscο
- mο
- mdl(result_type: ResultTypes) ResultsTable[source]ο
get the ResultsTable model :param result_type: ResultTypes :return: ResultsTable instance
- nο
- n_battο
- n_genο
- n_hvdcο
- n_loadο
- n_shο
- n_vscο
- plot_bars_limit: intο
- sh_namesο
- shunt_Vn: ndarray[tuple[Any, ...], dtype[float64]]ο
- shunt_q_A: ndarray[tuple[Any, ...], dtype[float64]]ο
- shunt_q_B: ndarray[tuple[Any, ...], dtype[float64]]ο
- shunt_q_C: ndarray[tuple[Any, ...], dtype[float64]]ο
- tap_angle: ndarray[tuple[Any, ...], dtype[float64]]ο
- tap_module: ndarray[tuple[Any, ...], dtype[float64]]ο
- voltage_A: ndarray[tuple[Any, ...], dtype[complex128]]ο
- voltage_B: ndarray[tuple[Any, ...], dtype[complex128]]ο
- voltage_C: ndarray[tuple[Any, ...], dtype[complex128]]ο
- voltage_N: ndarray[tuple[Any, ...], dtype[complex128]]ο
- vsc_names: ndarray[tuple[Any, ...], dtype[str_]]ο
- VeraGridEngine.Simulations.PowerFlow3ph.power_flow_results_3ph.get_3p_indices(length_3p: int) Tuple[ndarray[tuple[Any, ...], dtype[int64]], ndarray[tuple[Any, ...], dtype[int64]], ndarray[tuple[Any, ...], dtype[int64]], ndarray[tuple[Any, ...], dtype[int64]]][source]ο
get the 3-phase indexing :param length_3p: 4N length :return: index N, index A, index B, index C
VeraGridEngine.Simulations.PowerFlow3ph.power_flow_ts_driver_3ph moduleο
- class VeraGridEngine.Simulations.PowerFlow3ph.power_flow_ts_driver_3ph.PowerFlowTimeSeriesDriver3Ph(grid: MultiCircuit, options: PowerFlowOptions | None = None, time_indices: IntVec | None = None, opf_time_series_results: OptimalPowerFlowTimeSeriesResults | None = None, clustering_results: ClusteringResults | None = None, engine: EngineType = VeraGrid)[source]ο
Bases:
TimeSeriesDriverTemplateThree-phase power-flow time-series driver.
- name = 'Power flow time series 3ph'ο
- opf_time_series_results: OptimalPowerFlowTimeSeriesResults | Noneο
- options: PowerFlowOptionsο
- run_gslv(time_indices: ndarray[tuple[Any, ...], dtype[int64]]) PowerFlowTimeSeriesResults3Ph[source]ο
Run the three-phase time series with one native GSLV snapshot per time step.
- Parameters:
time_indices β Selected time indices.
- Returns:
Time-series results.
- run_single_thread(time_indices: ndarray[tuple[Any, ...], dtype[int64]]) PowerFlowTimeSeriesResults3Ph[source]ο
Run the three-phase time series with the internal engine.
- Parameters:
time_indices β Selected time indices.
- Returns:
Time-series results.
- tpe = 'Power flow time series 3ph'ο
VeraGridEngine.Simulations.PowerFlow3ph.power_flow_ts_results_3ph moduleο
- class VeraGridEngine.Simulations.PowerFlow3ph.power_flow_ts_results_3ph.PowerFlowTimeSeriesResults3Ph(n: int, m: int, n_hvdc: int, n_vsc: int, n_gen: int, n_batt: int, n_sh: int, n_load: int, bus_names: ndarray[tuple[Any, ...], dtype[str_]], branch_names: ndarray[tuple[Any, ...], dtype[str_]], hvdc_names: ndarray[tuple[Any, ...], dtype[str_]], vsc_names: ndarray[tuple[Any, ...], dtype[str_]], gen_names: ndarray[tuple[Any, ...], dtype[str_]], batt_names: ndarray[tuple[Any, ...], dtype[str_]], sh_names: ndarray[tuple[Any, ...], dtype[str_]], load_names: ndarray[tuple[Any, ...], dtype[str_]], bus_types: ndarray[tuple[Any, ...], dtype[int64]], time_array: DatetimeIndex, clustering_results: ClusteringResults | None = None)[source]ο
Bases:
ResultsTemplateThree-phase power-flow time-series results container.
- CLASS_DATA_VARIABLES = {'F': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'If_A': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'If_B': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'If_C': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'If_N': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'If_vsc': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'It_A': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'It_B': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'It_C': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'It_N': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'It_vsc_A': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'It_vsc_B': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'It_vsc_C': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'Pf_hvdc_A': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'Pf_hvdc_B': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'Pf_hvdc_C': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'Pfp_vsc': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'Pt_hvdc_A': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'Pt_hvdc_B': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'Pt_hvdc_C': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'Sbus_A': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'Sbus_B': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'Sbus_C': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'Sbus_N': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'Sf_A': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'Sf_B': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'Sf_C': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'St_A': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'St_B': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'St_C': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'St_vsc_A': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'St_vsc_B': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'St_vsc_C': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'T': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'Vbranch_A': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'Vbranch_B': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'Vbranch_C': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'area_names': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'batt_names': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'battery_q_A': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'battery_q_B': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'battery_q_C': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'branch_names': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'bus_area_indices': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'bus_names': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'bus_types': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'converged_values': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'error_values': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'gen_names': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'gen_q_A': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'gen_q_B': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'gen_q_C': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'hvdc_F': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'hvdc_T': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'hvdc_names': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'load_Vn': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'load_names': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'loading_A': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'loading_B': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'loading_C': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'loading_hvdc': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'loading_vsc': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'losses_A': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'losses_B': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'losses_C': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'losses_hvdc': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'losses_vsc': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'sh_names': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'shunt_Vn': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'shunt_q_A': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'shunt_q_B': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'shunt_q_C': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'tap_angle': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'tap_module': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'time_array': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'voltage_A': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'voltage_B': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'voltage_C': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'voltage_N': <VeraGridEngine.Simulations.results_template.ResultsProperty object>, 'vsc_names': <VeraGridEngine.Simulations.results_template.ResultsProperty object>}ο
- CLASS_RESULTS_DECLARATIONS = (<VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>)ο
- If_A: ndarray[tuple[Any, ...], dtype[complex128]]ο
- If_B: ndarray[tuple[Any, ...], dtype[complex128]]ο
- If_C: ndarray[tuple[Any, ...], dtype[complex128]]ο
- If_N: ndarray[tuple[Any, ...], dtype[complex128]]ο
- If_vsc: ndarray[tuple[Any, ...], dtype[float64]] | ndarray[tuple[int, int], dtype[float64]]ο
- It_A: ndarray[tuple[Any, ...], dtype[complex128]]ο
- It_B: ndarray[tuple[Any, ...], dtype[complex128]]ο
- It_C: ndarray[tuple[Any, ...], dtype[complex128]]ο
- It_N: ndarray[tuple[Any, ...], dtype[complex128]]ο
- It_vsc_A: ndarray[tuple[Any, ...], dtype[complex128]]ο
- It_vsc_B: ndarray[tuple[Any, ...], dtype[complex128]]ο
- It_vsc_C: ndarray[tuple[Any, ...], dtype[complex128]]ο
- LOCAL_RESULTS_DECLARATIONS = (<VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>, <VeraGridEngine.Simulations.results_template.ResultsProperty object>)ο
- Pf_hvdc_A: ndarray[tuple[Any, ...], dtype[float64]] | ndarray[tuple[int, int], dtype[float64]]ο
- Pf_hvdc_B: ndarray[tuple[Any, ...], dtype[float64]] | ndarray[tuple[int, int], dtype[float64]]ο
- Pf_hvdc_C: ndarray[tuple[Any, ...], dtype[float64]] | ndarray[tuple[int, int], dtype[float64]]ο
- Pfp_vsc: ndarray[tuple[Any, ...], dtype[float64]] | ndarray[tuple[int, int], dtype[float64]]ο
- Pt_hvdc_A: ndarray[tuple[Any, ...], dtype[float64]] | ndarray[tuple[int, int], dtype[float64]]ο
- Pt_hvdc_B: ndarray[tuple[Any, ...], dtype[float64]] | ndarray[tuple[int, int], dtype[float64]]ο
- Pt_hvdc_C: ndarray[tuple[Any, ...], dtype[float64]] | ndarray[tuple[int, int], dtype[float64]]ο
- Sbus_A: ndarray[tuple[Any, ...], dtype[complex128]]ο
- Sbus_B: ndarray[tuple[Any, ...], dtype[complex128]]ο
- Sbus_C: ndarray[tuple[Any, ...], dtype[complex128]]ο
- Sbus_N: ndarray[tuple[Any, ...], dtype[complex128]]ο
- Sf_A: ndarray[tuple[Any, ...], dtype[complex128]]ο
- Sf_B: ndarray[tuple[Any, ...], dtype[complex128]]ο
- Sf_C: ndarray[tuple[Any, ...], dtype[complex128]]ο
- St_A: ndarray[tuple[Any, ...], dtype[complex128]]ο
- St_B: ndarray[tuple[Any, ...], dtype[complex128]]ο
- St_C: ndarray[tuple[Any, ...], dtype[complex128]]ο
- St_vsc_A: ndarray[tuple[Any, ...], dtype[complex128]]ο
- St_vsc_B: ndarray[tuple[Any, ...], dtype[complex128]]ο
- St_vsc_C: ndarray[tuple[Any, ...], dtype[complex128]]ο
- Vbranch_A: ndarray[tuple[Any, ...], dtype[complex128]]ο
- Vbranch_B: ndarray[tuple[Any, ...], dtype[complex128]]ο
- Vbranch_C: ndarray[tuple[Any, ...], dtype[complex128]]ο
- batt_names: ndarray[tuple[Any, ...], dtype[str_]]ο
- battery_q_A: ndarray[tuple[Any, ...], dtype[float64]] | ndarray[tuple[int, int], dtype[float64]]ο
- battery_q_B: ndarray[tuple[Any, ...], dtype[float64]] | ndarray[tuple[int, int], dtype[float64]]ο
- battery_q_C: ndarray[tuple[Any, ...], dtype[float64]] | ndarray[tuple[int, int], dtype[float64]]ο
- branch_names: ndarray[tuple[Any, ...], dtype[str_]]ο
- bus_names: ndarray[tuple[Any, ...], dtype[str_]]ο
- bus_types: ndarray[tuple[Any, ...], dtype[int64]]ο
- converged_values: ndarray[tuple[Any, ...], dtype[bool]]ο
- error_values: ndarray[tuple[Any, ...], dtype[float64]]ο
- gen_names: ndarray[tuple[Any, ...], dtype[str_]]ο
- gen_q_A: ndarray[tuple[Any, ...], dtype[float64]] | ndarray[tuple[int, int], dtype[float64]]ο
- gen_q_B: ndarray[tuple[Any, ...], dtype[float64]] | ndarray[tuple[int, int], dtype[float64]]ο
- gen_q_C: ndarray[tuple[Any, ...], dtype[float64]] | ndarray[tuple[int, int], dtype[float64]]ο
- hvdc_names: ndarray[tuple[Any, ...], dtype[str_]]ο
- load_Vn: ndarray[tuple[Any, ...], dtype[complex128]]ο
- load_names: ndarray[tuple[Any, ...], dtype[str_]]ο
- loading_A: ndarray[tuple[Any, ...], dtype[complex128]]ο
- loading_B: ndarray[tuple[Any, ...], dtype[complex128]]ο
- loading_C: ndarray[tuple[Any, ...], dtype[complex128]]ο
- loading_hvdc: ndarray[tuple[Any, ...], dtype[float64]] | ndarray[tuple[int, int], dtype[float64]]ο
- loading_vsc: ndarray[tuple[Any, ...], dtype[float64]] | ndarray[tuple[int, int], dtype[float64]]ο
- losses_A: ndarray[tuple[Any, ...], dtype[complex128]]ο
- losses_B: ndarray[tuple[Any, ...], dtype[complex128]]ο
- losses_C: ndarray[tuple[Any, ...], dtype[complex128]]ο
- losses_hvdc: ndarray[tuple[Any, ...], dtype[float64]] | ndarray[tuple[int, int], dtype[float64]]ο
- losses_vsc: ndarray[tuple[Any, ...], dtype[float64]] | ndarray[tuple[int, int], dtype[float64]]ο
- mdl(result_type: ResultTypes) ResultsTable[source]ο
Build the requested time-series table.
- Parameters:
result_type β Requested result type.
- Returns:
Results table.
- set_at(t: int, results: PowerFlowResults3Ph) None[source]ο
Store one snapshot three-phase power-flow solution at one time index.
- Parameters:
t β Time row index.
results β Snapshot three-phase results object.
- Returns:
None.
- sh_names: ndarray[tuple[Any, ...], dtype[str_]]ο
- shunt_Vn: ndarray[tuple[Any, ...], dtype[complex128]]ο
- shunt_q_A: ndarray[tuple[Any, ...], dtype[float64]] | ndarray[tuple[int, int], dtype[float64]]ο
- shunt_q_B: ndarray[tuple[Any, ...], dtype[float64]] | ndarray[tuple[int, int], dtype[float64]]ο
- shunt_q_C: ndarray[tuple[Any, ...], dtype[float64]] | ndarray[tuple[int, int], dtype[float64]]ο
- tap_angle: ndarray[tuple[Any, ...], dtype[float64]] | ndarray[tuple[int, int], dtype[float64]]ο
- tap_module: ndarray[tuple[Any, ...], dtype[float64]] | ndarray[tuple[int, int], dtype[float64]]ο
- voltage_A: ndarray[tuple[Any, ...], dtype[complex128]]ο
- voltage_B: ndarray[tuple[Any, ...], dtype[complex128]]ο
- voltage_C: ndarray[tuple[Any, ...], dtype[complex128]]ο
- voltage_N: ndarray[tuple[Any, ...], dtype[complex128]]ο
- vsc_names: ndarray[tuple[Any, ...], dtype[str_]]ο
VeraGridEngine.Simulations.PowerFlow3ph.power_flow_worker_3ph moduleο
- VeraGridEngine.Simulations.PowerFlow3ph.power_flow_worker_3ph.multi_island_pf_3ph(multi_circuit: MultiCircuit, options: PowerFlowOptions, opf_results: VALID_OPF_RESULTS | None = None, t: Union[int, None] = None, logger: Logger = <VeraGridEngine.basic_structures.Logger object>, bus_dict: Union[Dict[Bus, int], None] = None, areas_dict: Union[Dict[Area, int], None] = None) PowerFlowResults3Ph[source]ο
Multiple islands power flow (this is the most generic power flow function) :param multi_circuit: MultiCircuit instance :param options: PowerFlowOptions instance :param opf_results: OPF results, to be used if not None :param t: time step, if None, the snapshot is compiled :param logger: list of events to add to :param bus_dict: Dus object to index dictionary :param areas_dict: Area to area index dictionary :return: PowerFlowResults instance
- VeraGridEngine.Simulations.PowerFlow3ph.power_flow_worker_3ph.multi_island_pf_nc_3ph(nc: NumericalCircuit, options: PowerFlowOptions, logger: Logger | None = None, V_guess: ndarray[tuple[Any, ...], dtype[complex128]] | None = None, Sbus_input: ndarray[tuple[Any, ...], dtype[complex128]] | None = None) PowerFlowResults3Ph[source]ο
Multiple islands power flow (this is the most generic power flow function) :param nc: SnapshotData instance :param options: PowerFlowOptions instance :param logger: logger :param V_guess: voltage guess :param Sbus_input: Use this power injections if provided (in p.u.) :return: PowerFlowResults instance