PowerSystems
API documentation
Index
PowerSystems.PowerSystems
PowerSystems._pti_dtypes
PowerSystems._pti_sections
PowerSystems.pm_component_status
PowerSystems.pm_component_status_inactive
PowerSystems.AGC
PowerSystems.AVRFixed
PowerSystems.AVRSimple
PowerSystems.AVRTypeI
PowerSystems.AVRTypeII
PowerSystems.AggregationTopology
PowerSystems.AndersonFouadMachine
PowerSystems.Arc
PowerSystems.Area
PowerSystems.AverageConverter
PowerSystems.BaseMachine
PowerSystems.Bus
PowerSystems.Bus
PowerSystems.CurrentControl
PowerSystems.DynamicInjection
PowerSystems.FiveMassShaft
PowerSystems.FixedAdmittance
PowerSystems.FixedDCSource
PowerSystems.FullMachine
PowerSystems.GenericBattery
PowerSystems.HVDCLine
PowerSystems.HydroDispatch
PowerSystems.HydroEnergyReservoir
PowerSystems.InterruptibleLoad
PowerSystems.KauraPLL
PowerSystems.LCFilter
PowerSystems.LCLFilter
PowerSystems.Line
PowerSystems.Line
PowerSystems.LoadZone
PowerSystems.MarconatoMachine
PowerSystems.MonitoredLine
PowerSystems.OneDOneQMachine
PowerSystems.OuterControl
PowerSystems.PSSFixed
PowerSystems.PSSSimple
PowerSystems.PhaseShiftingTransformer
PowerSystems.PowerLoad
PowerSystems.PowerModelsData
PowerSystems.PowerModelsData
PowerSystems.PowerSystemTableData
PowerSystems.PowerSystemType
PowerSystems.ReactivePowerDroop
PowerSystems.RenewableDispatch
PowerSystems.RenewableFix
PowerSystems.ReserveDemandCurve
PowerSystems.SimpleAFMachine
PowerSystems.SimpleFullMachine
PowerSystems.SimpleMarconatoMachine
PowerSystems.SingleMass
PowerSystems.Source
PowerSystems.StaticReserve
PowerSystems.StaticReserve
PowerSystems.System
PowerSystems.System
PowerSystems.System
PowerSystems.System
PowerSystems.System
PowerSystems.System
PowerSystems.System
PowerSystems.System
PowerSystems.System
PowerSystems.System
PowerSystems.TGFixed
PowerSystems.TGTypeI
PowerSystems.TGTypeII
PowerSystems.TapTransformer
PowerSystems.ThermalStandard
PowerSystems.ThreePartCost
PowerSystems.ThreePartCost
PowerSystems.Transfer
PowerSystems.Transformer2W
PowerSystems.TwoPartCost
PowerSystems.TwoPartCost
PowerSystems.VSCDCLine
PowerSystems.VariableReserve
PowerSystems.VirtualInertia
PowerSystems._FieldInfo
InfrastructureSystems.convert_type
InfrastructureSystems.convert_type
JSON2.read
PowerSystems._add_dcline_costs!
PowerSystems._add_line_delimiter
PowerSystems._apply_func!
PowerSystems._biggest_generator
PowerSystems._bold
PowerSystems._calc_branch_flow_ac
PowerSystems._calc_branch_flow_dc
PowerSystems._calc_comp_lines
PowerSystems._calc_max_cost_index
PowerSystems._calc_power_balance
PowerSystems._check_conductors
PowerSystems._check_keys
PowerSystems._compare_numbers
PowerSystems._correct_cost_function!
PowerSystems._correct_reference_buses!
PowerSystems._create_starbus_from_transformer
PowerSystems._dfs
PowerSystems._export_cost_data
PowerSystems._export_extra_data
PowerSystems._extract_matlab_assignment
PowerSystems._find_max_bus_id
PowerSystems._float2string
PowerSystems._get_bus_value
PowerSystems._get_default
PowerSystems._get_line_elements
PowerSystems._get_pm_dict_name
PowerSystems._grey
PowerSystems._import_remaining!
PowerSystems._init_bus!
PowerSystems._make_mixed_units!
PowerSystems._make_per_unit!
PowerSystems._matpower_to_powermodels!
PowerSystems._merge_bus_name_data!
PowerSystems._merge_generator_cost_data!
PowerSystems._merge_generic_data!
PowerSystems._mp2pm_branch!
PowerSystems._mp2pm_dcline!
PowerSystems._mp_cost_data
PowerSystems._parse_elements
PowerSystems._parse_line_element!
PowerSystems._parse_matlab_cells
PowerSystems._parse_matlab_data
PowerSystems._parse_matlab_matrix
PowerSystems._parse_matpower_string
PowerSystems._parse_pti_data
PowerSystems._populate_defaults!
PowerSystems._propagate_topology_status!
PowerSystems._psse2pm_branch!
PowerSystems._psse2pm_bus!
PowerSystems._psse2pm_dcline!
PowerSystems._psse2pm_generator!
PowerSystems._psse2pm_load!
PowerSystems._psse2pm_shunt!
PowerSystems._psse2pm_transformer!
PowerSystems._pti_to_powermodels!
PowerSystems._read_data_row
PowerSystems._remove_aggregration_topology!
PowerSystems._remove_pwl_cost_duplicates!
PowerSystems._remove_service!
PowerSystems._rescale_cost_model!
PowerSystems._select_largest_component!
PowerSystems._simplify_pwl_cost!
PowerSystems._split_loads_shunts!
PowerSystems._standardize_cost_terms!
PowerSystems._type_array
PowerSystems._type_value
PowerSystems._update_data!
PowerSystems._value2string
PowerSystems.add_component!
PowerSystems.add_forecast!
PowerSystems.add_forecast!
PowerSystems.add_forecast!
PowerSystems.add_forecast!
PowerSystems.add_forecasts!
PowerSystems.add_forecasts!
PowerSystems.add_service!
PowerSystems.add_service!
PowerSystems.adequacy_check
PowerSystems.are_forecasts_contiguous
PowerSystems.are_forecasts_contiguous
PowerSystems.arrays_to_dicts!
PowerSystems.branch_csv_parser!
PowerSystems.bus_csv_parser!
PowerSystems.bus_gen_lookup
PowerSystems.bus_load_lookup
PowerSystems.bus_shunt_lookup
PowerSystems.bus_storage_lookup
PowerSystems.calc_branch_flow_ac
PowerSystems.calc_branch_flow_dc
PowerSystems.calc_branch_t
PowerSystems.calc_branch_y
PowerSystems.calc_connected_components
PowerSystems.calc_cost_pwl_lines
PowerSystems.calc_dcline_cost
PowerSystems.calc_gen_cost
PowerSystems.calc_max_cost_index
PowerSystems.calc_power_balance
PowerSystems.calc_theta_delta_bounds
PowerSystems.check_ascending_order
PowerSystems.check_branch_loops
PowerSystems.check_bus
PowerSystems.check_component_addition
PowerSystems.check_component_removal
PowerSystems.check_conductors
PowerSystems.check_connectivity
PowerSystems.check_forecast_consistency
PowerSystems.check_reference_bus
PowerSystems.check_reference_buses
PowerSystems.check_status
PowerSystems.check_storage_parameters
PowerSystems.check_switch_parameters
PowerSystems.check_type
PowerSystems.check_voltage_setpoints
PowerSystems.clear_components!
PowerSystems.clear_ext
PowerSystems.clear_forecasts!
PowerSystems.clear_services!
PowerSystems.compare_dict
PowerSystems.convert_component!
PowerSystems.convert_component!
PowerSystems.correct_branch_directions!
PowerSystems.correct_bus_types!
PowerSystems.correct_component_refrence_bus!
PowerSystems.correct_cost_functions!
PowerSystems.correct_current_limits!
PowerSystems.correct_dcline_limits!
PowerSystems.correct_network_data!
PowerSystems.correct_thermal_limits!
PowerSystems.correct_transformer_parameters!
PowerSystems.correct_voltage_angle_differences!
PowerSystems.dc_branch_csv_parser!
PowerSystems.encode_for_json
PowerSystems.encode_for_json
PowerSystems.export_matpower
PowerSystems.export_matpower
PowerSystems.flow_val
PowerSystems.flow_val
PowerSystems.flow_val
PowerSystems.gen_csv_parser!
PowerSystems.generate_initial_times
PowerSystems.generate_initial_times
PowerSystems.get_Ae
PowerSystems.get_Ae
PowerSystems.get_Be
PowerSystems.get_Be
PowerSystems.get_D
PowerSystems.get_D
PowerSystems.get_D_12
PowerSystems.get_D_23
PowerSystems.get_D_34
PowerSystems.get_D_45
PowerSystems.get_D_ex
PowerSystems.get_D_hp
PowerSystems.get_D_ip
PowerSystems.get_D_lp
PowerSystems.get_Emf
PowerSystems.get_H
PowerSystems.get_H
PowerSystems.get_H_ex
PowerSystems.get_H_hp
PowerSystems.get_H_ip
PowerSystems.get_H_lp
PowerSystems.get_K0
PowerSystems.get_K_d
PowerSystems.get_K_ex
PowerSystems.get_K_hp
PowerSystems.get_K_i
PowerSystems.get_K_ip
PowerSystems.get_K_lp
PowerSystems.get_K_p
PowerSystems.get_K_p
PowerSystems.get_K_ω
PowerSystems.get_Ka
PowerSystems.get_Ke
PowerSystems.get_Kf
PowerSystems.get_Kv
PowerSystems.get_L_1d
PowerSystems.get_L_1d
PowerSystems.get_L_1q
PowerSystems.get_L_1q
PowerSystems.get_L_ad
PowerSystems.get_L_ad
PowerSystems.get_L_aq
PowerSystems.get_L_aq
PowerSystems.get_L_d
PowerSystems.get_L_d
PowerSystems.get_L_f1d
PowerSystems.get_L_f1d
PowerSystems.get_L_ff
PowerSystems.get_L_ff
PowerSystems.get_L_q
PowerSystems.get_L_q
PowerSystems.get_MVABase
PowerSystems.get_MVABase
PowerSystems.get_MVABase
PowerSystems.get_MVABase
PowerSystems.get_MVABase
PowerSystems.get_MVABase
PowerSystems.get_MVABase
PowerSystems.get_MVABase
PowerSystems.get_P_max
PowerSystems.get_P_min
PowerSystems.get_R
PowerSystems.get_R
PowerSystems.get_R
PowerSystems.get_R
PowerSystems.get_R
PowerSystems.get_R
PowerSystems.get_R
PowerSystems.get_R
PowerSystems.get_R
PowerSystems.get_R
PowerSystems.get_R_1d
PowerSystems.get_R_1d
PowerSystems.get_R_1q
PowerSystems.get_R_1q
PowerSystems.get_R_f
PowerSystems.get_R_f
PowerSystems.get_T1
PowerSystems.get_T1
PowerSystems.get_T2
PowerSystems.get_T2
PowerSystems.get_T3
PowerSystems.get_T3
PowerSystems.get_T4
PowerSystems.get_T4
PowerSystems.get_T5
PowerSystems.get_T_AA
PowerSystems.get_T_AA
PowerSystems.get_Ta
PowerSystems.get_Ta
PowerSystems.get_Tc
PowerSystems.get_Td0_p
PowerSystems.get_Td0_p
PowerSystems.get_Td0_p
PowerSystems.get_Td0_p
PowerSystems.get_Td0_p
PowerSystems.get_Td0_pp
PowerSystems.get_Td0_pp
PowerSystems.get_Td0_pp
PowerSystems.get_Td0_pp
PowerSystems.get_Te
PowerSystems.get_Te
PowerSystems.get_Tf
PowerSystems.get_Tq0_p
PowerSystems.get_Tq0_p
PowerSystems.get_Tq0_p
PowerSystems.get_Tq0_p
PowerSystems.get_Tq0_p
PowerSystems.get_Tq0_pp
PowerSystems.get_Tq0_pp
PowerSystems.get_Tq0_pp
PowerSystems.get_Tq0_pp
PowerSystems.get_Tr
PowerSystems.get_Tr
PowerSystems.get_Ts
PowerSystems.get_V_pss
PowerSystems.get_Vr_max
PowerSystems.get_Vr_max
PowerSystems.get_Vr_min
PowerSystems.get_Vr_min
PowerSystems.get_X_th
PowerSystems.get_Xd
PowerSystems.get_Xd
PowerSystems.get_Xd
PowerSystems.get_Xd
PowerSystems.get_Xd
PowerSystems.get_Xd_p
PowerSystems.get_Xd_p
PowerSystems.get_Xd_p
PowerSystems.get_Xd_p
PowerSystems.get_Xd_p
PowerSystems.get_Xd_p
PowerSystems.get_Xd_pp
PowerSystems.get_Xd_pp
PowerSystems.get_Xd_pp
PowerSystems.get_Xd_pp
PowerSystems.get_Xq
PowerSystems.get_Xq
PowerSystems.get_Xq
PowerSystems.get_Xq
PowerSystems.get_Xq
PowerSystems.get_Xq_p
PowerSystems.get_Xq_p
PowerSystems.get_Xq_p
PowerSystems.get_Xq_p
PowerSystems.get_Xq_p
PowerSystems.get_Xq_pp
PowerSystems.get_Xq_pp
PowerSystems.get_Xq_pp
PowerSystems.get_Xq_pp
PowerSystems.get_Y
PowerSystems.get_activepower
PowerSystems.get_activepower
PowerSystems.get_activepower
PowerSystems.get_activepower
PowerSystems.get_activepower
PowerSystems.get_activepower
PowerSystems.get_activepower
PowerSystems.get_activepower
PowerSystems.get_activepower
PowerSystems.get_activepower_flow
PowerSystems.get_activepower_flow
PowerSystems.get_activepower_flow
PowerSystems.get_activepower_flow
PowerSystems.get_activepower_flow
PowerSystems.get_activepower_flow
PowerSystems.get_activepower_flow
PowerSystems.get_activepowerlimits
PowerSystems.get_activepowerlimits
PowerSystems.get_activepowerlimits
PowerSystems.get_activepowerlimits_from
PowerSystems.get_activepowerlimits_to
PowerSystems.get_aggregation_topology_accessor
PowerSystems.get_aggregation_topology_mapping
PowerSystems.get_angle
PowerSystems.get_anglelimits
PowerSystems.get_anglelimits
PowerSystems.get_arc
PowerSystems.get_arc
PowerSystems.get_arc
PowerSystems.get_arc
PowerSystems.get_arc
PowerSystems.get_arc
PowerSystems.get_arc
PowerSystems.get_area
PowerSystems.get_area
PowerSystems.get_available
PowerSystems.get_available
PowerSystems.get_available
PowerSystems.get_available
PowerSystems.get_available
PowerSystems.get_available
PowerSystems.get_available
PowerSystems.get_available
PowerSystems.get_available
PowerSystems.get_available
PowerSystems.get_available
PowerSystems.get_available
PowerSystems.get_available
PowerSystems.get_available
PowerSystems.get_available
PowerSystems.get_available
PowerSystems.get_available
PowerSystems.get_available
PowerSystems.get_available
PowerSystems.get_available
PowerSystems.get_available
PowerSystems.get_available
PowerSystems.get_b
PowerSystems.get_b
PowerSystems.get_basepower
PowerSystems.get_basevoltage
PowerSystems.get_bias
PowerSystems.get_breakpoint_upperbounds
PowerSystems.get_bus
PowerSystems.get_bus
PowerSystems.get_bus
PowerSystems.get_bus
PowerSystems.get_bus
PowerSystems.get_bus
PowerSystems.get_bus
PowerSystems.get_bus
PowerSystems.get_bus
PowerSystems.get_bus
PowerSystems.get_bus
PowerSystems.get_bus
PowerSystems.get_bus_numbers
PowerSystems.get_buses
PowerSystems.get_buses
PowerSystems.get_bustype
PowerSystems.get_capacity
PowerSystems.get_cf
PowerSystems.get_cf
PowerSystems.get_component
PowerSystems.get_components
PowerSystems.get_components_by_name
PowerSystems.get_components_in_aggregation_topology
PowerSystems.get_contributing_device_mapping
PowerSystems.get_contributing_devices
PowerSystems.get_dataframe
PowerSystems.get_delta_t
PowerSystems.get_dynamic_injector
PowerSystems.get_dynamic_injector
PowerSystems.get_dynamic_injector
PowerSystems.get_dynamic_injector
PowerSystems.get_dynamic_injector
PowerSystems.get_dynamic_injector
PowerSystems.get_dynamic_injector
PowerSystems.get_dynamic_injector
PowerSystems.get_efficiency
PowerSystems.get_efficiency
PowerSystems.get_energy
PowerSystems.get_enum_value
PowerSystems.get_eq_p
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_ext
PowerSystems.get_fixed
PowerSystems.get_fixed
PowerSystems.get_flowlimits
PowerSystems.get_forecast
PowerSystems.get_forecast
PowerSystems.get_forecast_initial_times
PowerSystems.get_forecast_keys
PowerSystems.get_forecast_values
PowerSystems.get_forecast_values
PowerSystems.get_forecast_values
PowerSystems.get_forecasts_horizon
PowerSystems.get_forecasts_initial_time
PowerSystems.get_forecasts_interval
PowerSystems.get_forecasts_resolution
PowerSystems.get_frequency
PowerSystems.get_from
PowerSystems.get_fuel
PowerSystems.get_generator_mapping
PowerSystems.get_generator_type
PowerSystems.get_inflow
PowerSystems.get_initial_storage
PowerSystems.get_inputactivepowerlimits
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_internal
PowerSystems.get_inv_d_fluxlink
PowerSystems.get_inv_d_fluxlink
PowerSystems.get_inv_q_fluxlink
PowerSystems.get_inv_q_fluxlink
PowerSystems.get_inverter_firing_angle
PowerSystems.get_inverter_taplimits
PowerSystems.get_inverter_xrc
PowerSystems.get_kad
PowerSystems.get_kd
PowerSystems.get_kffi
PowerSystems.get_kffv
PowerSystems.get_ki_pll
PowerSystems.get_kic
PowerSystems.get_kiv
PowerSystems.get_kp_pll
PowerSystems.get_kpc
PowerSystems.get_kpv
PowerSystems.get_kq
PowerSystems.get_kω
PowerSystems.get_lf
PowerSystems.get_lf
PowerSystems.get_lg
PowerSystems.get_load_zone
PowerSystems.get_loss
PowerSystems.get_lv
PowerSystems.get_maxactivepower
PowerSystems.get_maxactivepower
PowerSystems.get_maxactivepower
PowerSystems.get_maxactivepower
PowerSystems.get_maxreactivepower
PowerSystems.get_maxreactivepower
PowerSystems.get_maxreactivepower
PowerSystems.get_maxreactivepower
PowerSystems.get_model
PowerSystems.get_model
PowerSystems.get_n_states
PowerSystems.get_n_states
PowerSystems.get_n_states
PowerSystems.get_n_states
PowerSystems.get_n_states
PowerSystems.get_n_states
PowerSystems.get_n_states
PowerSystems.get_n_states
PowerSystems.get_n_states
PowerSystems.get_n_states
PowerSystems.get_n_states
PowerSystems.get_n_states
PowerSystems.get_n_states
PowerSystems.get_n_states
PowerSystems.get_n_states
PowerSystems.get_n_states
PowerSystems.get_n_states
PowerSystems.get_n_states
PowerSystems.get_n_states
PowerSystems.get_n_states
PowerSystems.get_n_states
PowerSystems.get_n_states
PowerSystems.get_n_states
PowerSystems.get_n_states
PowerSystems.get_n_states
PowerSystems.get_n_states
PowerSystems.get_n_states
PowerSystems.get_number
PowerSystems.get_op_cost
PowerSystems.get_op_cost
PowerSystems.get_op_cost
PowerSystems.get_op_cost
PowerSystems.get_op_cost
PowerSystems.get_outputactivepowerlimits
PowerSystems.get_participation_factor
PowerSystems.get_powerfactor
PowerSystems.get_powerfactor
PowerSystems.get_primaryshunt
PowerSystems.get_primaryshunt
PowerSystems.get_primaryshunt
PowerSystems.get_primemover
PowerSystems.get_primemover
PowerSystems.get_primemover
PowerSystems.get_primemover
PowerSystems.get_primemover
PowerSystems.get_primemover
PowerSystems.get_r
PowerSystems.get_r
PowerSystems.get_r
PowerSystems.get_r
PowerSystems.get_r
PowerSystems.get_ramplimits
PowerSystems.get_ramplimits
PowerSystems.get_ramplimits
PowerSystems.get_rate
PowerSystems.get_rate
PowerSystems.get_rate
PowerSystems.get_rate
PowerSystems.get_rate
PowerSystems.get_rating
PowerSystems.get_rating
PowerSystems.get_rating
PowerSystems.get_rating
PowerSystems.get_rating
PowerSystems.get_rating
PowerSystems.get_reactivepower
PowerSystems.get_reactivepower
PowerSystems.get_reactivepower
PowerSystems.get_reactivepower
PowerSystems.get_reactivepower
PowerSystems.get_reactivepower
PowerSystems.get_reactivepower
PowerSystems.get_reactivepower
PowerSystems.get_reactivepower
PowerSystems.get_reactivepower_flow
PowerSystems.get_reactivepower_flow
PowerSystems.get_reactivepower_flow
PowerSystems.get_reactivepower_flow
PowerSystems.get_reactivepower_flow
PowerSystems.get_reactivepowerlimits
PowerSystems.get_reactivepowerlimits
PowerSystems.get_reactivepowerlimits
PowerSystems.get_reactivepowerlimits
PowerSystems.get_reactivepowerlimits
PowerSystems.get_reactivepowerlimits_from
PowerSystems.get_reactivepowerlimits_to
PowerSystems.get_rectifier_firing_angle
PowerSystems.get_rectifier_taplimits
PowerSystems.get_rectifier_xrc
PowerSystems.get_requirement
PowerSystems.get_requirement
PowerSystems.get_requirement
PowerSystems.get_rf
PowerSystems.get_rf
PowerSystems.get_rg
PowerSystems.get_rv
PowerSystems.get_s_rated
PowerSystems.get_services
PowerSystems.get_services
PowerSystems.get_services
PowerSystems.get_services
PowerSystems.get_services
PowerSystems.get_services
PowerSystems.get_services
PowerSystems.get_services
PowerSystems.get_services
PowerSystems.get_services
PowerSystems.get_services
PowerSystems.get_services
PowerSystems.get_services
PowerSystems.get_services
PowerSystems.get_services
PowerSystems.get_services
PowerSystems.get_services
PowerSystems.get_shutdn
PowerSystems.get_slopes
PowerSystems.get_startup
PowerSystems.get_states
PowerSystems.get_states
PowerSystems.get_states
PowerSystems.get_states
PowerSystems.get_states
PowerSystems.get_states
PowerSystems.get_states
PowerSystems.get_states
PowerSystems.get_states
PowerSystems.get_states
PowerSystems.get_states
PowerSystems.get_states
PowerSystems.get_states
PowerSystems.get_states
PowerSystems.get_states
PowerSystems.get_states
PowerSystems.get_states
PowerSystems.get_states
PowerSystems.get_states
PowerSystems.get_states
PowerSystems.get_states
PowerSystems.get_states
PowerSystems.get_states
PowerSystems.get_states
PowerSystems.get_states
PowerSystems.get_states
PowerSystems.get_states
PowerSystems.get_static_injector
PowerSystems.get_status
PowerSystems.get_storage_capacity
PowerSystems.get_tap
PowerSystems.get_tap
PowerSystems.get_time_at_status
PowerSystems.get_timeframe
PowerSystems.get_timeframe
PowerSystems.get_timeframe
PowerSystems.get_timelimits
PowerSystems.get_timelimits
PowerSystems.get_timelimits
PowerSystems.get_to
PowerSystems.get_user_field
PowerSystems.get_user_fields
PowerSystems.get_v_rated
PowerSystems.get_variable
PowerSystems.get_variable
PowerSystems.get_voltage
PowerSystems.get_voltage
PowerSystems.get_voltagelimits
PowerSystems.get_x
PowerSystems.get_x
PowerSystems.get_x
PowerSystems.get_x
PowerSystems.get_x
PowerSystems.get_α
PowerSystems.get_γd
PowerSystems.get_γd
PowerSystems.get_γq
PowerSystems.get_γq
PowerSystems.get_τ_max
PowerSystems.get_τ_min
PowerSystems.get_ω_lp
PowerSystems.get_ωad
PowerSystems.get_ωb
PowerSystems.get_ωf
PowerSystems.handle_component_addition!
PowerSystems.handle_component_removal!
PowerSystems.has_service
PowerSystems.has_service
PowerSystems.im_replicate
PowerSystems.isafield
PowerSystems.ismultinetwork
PowerSystems.iterate_components
PowerSystems.iterate_forecasts
PowerSystems.iterate_rows
PowerSystems.load_csv_parser!
PowerSystems.loadzone_csv_parser!
PowerSystems.make_bus
PowerSystems.make_forecasts
PowerSystems.make_forecasts
PowerSystems.make_generator
PowerSystems.make_mixed_units!
PowerSystems.make_per_unit!
PowerSystems.make_pf
PowerSystems.make_thermal_gen
PowerSystems.move_genfuel_and_gentype!
PowerSystems.parse_file
PowerSystems.parse_matpower
PowerSystems.parse_psse
PowerSystems.parse_psse
PowerSystems.parse_pti
PowerSystems.parse_pti
PowerSystems.propagate_topology_status!
PowerSystems.read_gen!
PowerSystems.remove_component!
PowerSystems.remove_component!
PowerSystems.remove_components!
PowerSystems.remove_forecast!
PowerSystems.remove_service!
PowerSystems.replicate
PowerSystems.row_to_dict
PowerSystems.row_to_typed_dict
PowerSystems.select_largest_component
PowerSystems.services_csv_parser!
PowerSystems.set_Ae!
PowerSystems.set_Ae!
PowerSystems.set_Be!
PowerSystems.set_Be!
PowerSystems.set_D!
PowerSystems.set_D!
PowerSystems.set_D_12!
PowerSystems.set_D_23!
PowerSystems.set_D_34!
PowerSystems.set_D_45!
PowerSystems.set_D_ex!
PowerSystems.set_D_hp!
PowerSystems.set_D_ip!
PowerSystems.set_D_lp!
PowerSystems.set_Emf!
PowerSystems.set_H!
PowerSystems.set_H!
PowerSystems.set_H_ex!
PowerSystems.set_H_hp!
PowerSystems.set_H_ip!
PowerSystems.set_H_lp!
PowerSystems.set_K0!
PowerSystems.set_K_d!
PowerSystems.set_K_ex!
PowerSystems.set_K_hp!
PowerSystems.set_K_i!
PowerSystems.set_K_ip!
PowerSystems.set_K_lp!
PowerSystems.set_K_p!
PowerSystems.set_K_p!
PowerSystems.set_K_ω!
PowerSystems.set_Ka!
PowerSystems.set_Ke!
PowerSystems.set_Kf!
PowerSystems.set_Kv!
PowerSystems.set_L_1d!
PowerSystems.set_L_1d!
PowerSystems.set_L_1q!
PowerSystems.set_L_1q!
PowerSystems.set_L_ad!
PowerSystems.set_L_ad!
PowerSystems.set_L_aq!
PowerSystems.set_L_aq!
PowerSystems.set_L_d!
PowerSystems.set_L_d!
PowerSystems.set_L_f1d!
PowerSystems.set_L_f1d!
PowerSystems.set_L_ff!
PowerSystems.set_L_ff!
PowerSystems.set_L_q!
PowerSystems.set_L_q!
PowerSystems.set_MVABase!
PowerSystems.set_MVABase!
PowerSystems.set_MVABase!
PowerSystems.set_MVABase!
PowerSystems.set_MVABase!
PowerSystems.set_MVABase!
PowerSystems.set_MVABase!
PowerSystems.set_MVABase!
PowerSystems.set_P_max!
PowerSystems.set_P_min!
PowerSystems.set_R!
PowerSystems.set_R!
PowerSystems.set_R!
PowerSystems.set_R!
PowerSystems.set_R!
PowerSystems.set_R!
PowerSystems.set_R!
PowerSystems.set_R!
PowerSystems.set_R!
PowerSystems.set_R!
PowerSystems.set_R_1d!
PowerSystems.set_R_1d!
PowerSystems.set_R_1q!
PowerSystems.set_R_1q!
PowerSystems.set_R_f!
PowerSystems.set_R_f!
PowerSystems.set_T1!
PowerSystems.set_T1!
PowerSystems.set_T2!
PowerSystems.set_T2!
PowerSystems.set_T3!
PowerSystems.set_T3!
PowerSystems.set_T4!
PowerSystems.set_T4!
PowerSystems.set_T5!
PowerSystems.set_T_AA!
PowerSystems.set_T_AA!
PowerSystems.set_Ta!
PowerSystems.set_Ta!
PowerSystems.set_Tc!
PowerSystems.set_Td0_p!
PowerSystems.set_Td0_p!
PowerSystems.set_Td0_p!
PowerSystems.set_Td0_p!
PowerSystems.set_Td0_p!
PowerSystems.set_Td0_pp!
PowerSystems.set_Td0_pp!
PowerSystems.set_Td0_pp!
PowerSystems.set_Td0_pp!
PowerSystems.set_Te!
PowerSystems.set_Te!
PowerSystems.set_Tf!
PowerSystems.set_Tq0_p!
PowerSystems.set_Tq0_p!
PowerSystems.set_Tq0_p!
PowerSystems.set_Tq0_p!
PowerSystems.set_Tq0_p!
PowerSystems.set_Tq0_pp!
PowerSystems.set_Tq0_pp!
PowerSystems.set_Tq0_pp!
PowerSystems.set_Tq0_pp!
PowerSystems.set_Tr!
PowerSystems.set_Tr!
PowerSystems.set_Ts!
PowerSystems.set_V_pss!
PowerSystems.set_Vr_max!
PowerSystems.set_Vr_max!
PowerSystems.set_Vr_min!
PowerSystems.set_Vr_min!
PowerSystems.set_X_th!
PowerSystems.set_Xd!
PowerSystems.set_Xd!
PowerSystems.set_Xd!
PowerSystems.set_Xd!
PowerSystems.set_Xd!
PowerSystems.set_Xd_p!
PowerSystems.set_Xd_p!
PowerSystems.set_Xd_p!
PowerSystems.set_Xd_p!
PowerSystems.set_Xd_p!
PowerSystems.set_Xd_p!
PowerSystems.set_Xd_pp!
PowerSystems.set_Xd_pp!
PowerSystems.set_Xd_pp!
PowerSystems.set_Xd_pp!
PowerSystems.set_Xq!
PowerSystems.set_Xq!
PowerSystems.set_Xq!
PowerSystems.set_Xq!
PowerSystems.set_Xq!
PowerSystems.set_Xq_p!
PowerSystems.set_Xq_p!
PowerSystems.set_Xq_p!
PowerSystems.set_Xq_p!
PowerSystems.set_Xq_p!
PowerSystems.set_Xq_pp!
PowerSystems.set_Xq_pp!
PowerSystems.set_Xq_pp!
PowerSystems.set_Xq_pp!
PowerSystems.set_Y!
PowerSystems.set_activepower!
PowerSystems.set_activepower!
PowerSystems.set_activepower!
PowerSystems.set_activepower!
PowerSystems.set_activepower!
PowerSystems.set_activepower!
PowerSystems.set_activepower!
PowerSystems.set_activepower!
PowerSystems.set_activepower!
PowerSystems.set_activepower_flow!
PowerSystems.set_activepower_flow!
PowerSystems.set_activepower_flow!
PowerSystems.set_activepower_flow!
PowerSystems.set_activepower_flow!
PowerSystems.set_activepower_flow!
PowerSystems.set_activepower_flow!
PowerSystems.set_activepowerlimits!
PowerSystems.set_activepowerlimits!
PowerSystems.set_activepowerlimits!
PowerSystems.set_activepowerlimits_from!
PowerSystems.set_activepowerlimits_to!
PowerSystems.set_angle!
PowerSystems.set_anglelimits!
PowerSystems.set_anglelimits!
PowerSystems.set_arc!
PowerSystems.set_arc!
PowerSystems.set_arc!
PowerSystems.set_arc!
PowerSystems.set_arc!
PowerSystems.set_arc!
PowerSystems.set_arc!
PowerSystems.set_area!
PowerSystems.set_area!
PowerSystems.set_available!
PowerSystems.set_available!
PowerSystems.set_available!
PowerSystems.set_available!
PowerSystems.set_available!
PowerSystems.set_available!
PowerSystems.set_available!
PowerSystems.set_available!
PowerSystems.set_available!
PowerSystems.set_available!
PowerSystems.set_available!
PowerSystems.set_available!
PowerSystems.set_available!
PowerSystems.set_available!
PowerSystems.set_available!
PowerSystems.set_available!
PowerSystems.set_available!
PowerSystems.set_available!
PowerSystems.set_available!
PowerSystems.set_available!
PowerSystems.set_available!
PowerSystems.set_available!
PowerSystems.set_b!
PowerSystems.set_b!
PowerSystems.set_basevoltage!
PowerSystems.set_bias!
PowerSystems.set_bus!
PowerSystems.set_bus!
PowerSystems.set_bus!
PowerSystems.set_bus!
PowerSystems.set_bus!
PowerSystems.set_bus!
PowerSystems.set_bus!
PowerSystems.set_bus!
PowerSystems.set_bus!
PowerSystems.set_bus!
PowerSystems.set_bustype!
PowerSystems.set_capacity!
PowerSystems.set_cf!
PowerSystems.set_cf!
PowerSystems.set_delta_t!
PowerSystems.set_dynamic_injector!
PowerSystems.set_efficiency!
PowerSystems.set_efficiency!
PowerSystems.set_energy!
PowerSystems.set_eq_p!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_ext!
PowerSystems.set_fixed!
PowerSystems.set_fixed!
PowerSystems.set_flowlimits!
PowerSystems.set_from!
PowerSystems.set_fuel!
PowerSystems.set_inflow!
PowerSystems.set_initial_storage!
PowerSystems.set_inputactivepowerlimits!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_internal!
PowerSystems.set_inv_d_fluxlink!
PowerSystems.set_inv_d_fluxlink!
PowerSystems.set_inv_q_fluxlink!
PowerSystems.set_inv_q_fluxlink!
PowerSystems.set_inverter_firing_angle!
PowerSystems.set_inverter_taplimits!
PowerSystems.set_inverter_xrc!
PowerSystems.set_kad!
PowerSystems.set_kd!
PowerSystems.set_kffi!
PowerSystems.set_kffv!
PowerSystems.set_ki_pll!
PowerSystems.set_kic!
PowerSystems.set_kiv!
PowerSystems.set_kp_pll!
PowerSystems.set_kpc!
PowerSystems.set_kpv!
PowerSystems.set_kq!
PowerSystems.set_kω!
PowerSystems.set_lf!
PowerSystems.set_lf!
PowerSystems.set_lg!
PowerSystems.set_load_zone!
PowerSystems.set_loss!
PowerSystems.set_lv!
PowerSystems.set_maxactivepower!
PowerSystems.set_maxactivepower!
PowerSystems.set_maxactivepower!
PowerSystems.set_maxactivepower!
PowerSystems.set_maxreactivepower!
PowerSystems.set_maxreactivepower!
PowerSystems.set_maxreactivepower!
PowerSystems.set_maxreactivepower!
PowerSystems.set_model!
PowerSystems.set_model!
PowerSystems.set_n_states!
PowerSystems.set_n_states!
PowerSystems.set_n_states!
PowerSystems.set_n_states!
PowerSystems.set_n_states!
PowerSystems.set_n_states!
PowerSystems.set_n_states!
PowerSystems.set_n_states!
PowerSystems.set_n_states!
PowerSystems.set_n_states!
PowerSystems.set_n_states!
PowerSystems.set_n_states!
PowerSystems.set_n_states!
PowerSystems.set_n_states!
PowerSystems.set_n_states!
PowerSystems.set_n_states!
PowerSystems.set_n_states!
PowerSystems.set_n_states!
PowerSystems.set_n_states!
PowerSystems.set_n_states!
PowerSystems.set_n_states!
PowerSystems.set_n_states!
PowerSystems.set_n_states!
PowerSystems.set_n_states!
PowerSystems.set_n_states!
PowerSystems.set_n_states!
PowerSystems.set_n_states!
PowerSystems.set_number!
PowerSystems.set_op_cost!
PowerSystems.set_op_cost!
PowerSystems.set_op_cost!
PowerSystems.set_op_cost!
PowerSystems.set_op_cost!
PowerSystems.set_outputactivepowerlimits!
PowerSystems.set_participation_factor!
PowerSystems.set_powerfactor!
PowerSystems.set_powerfactor!
PowerSystems.set_primaryshunt!
PowerSystems.set_primaryshunt!
PowerSystems.set_primaryshunt!
PowerSystems.set_primemover!
PowerSystems.set_primemover!
PowerSystems.set_primemover!
PowerSystems.set_primemover!
PowerSystems.set_primemover!
PowerSystems.set_primemover!
PowerSystems.set_r!
PowerSystems.set_r!
PowerSystems.set_r!
PowerSystems.set_r!
PowerSystems.set_r!
PowerSystems.set_ramplimits!
PowerSystems.set_ramplimits!
PowerSystems.set_ramplimits!
PowerSystems.set_rate!
PowerSystems.set_rate!
PowerSystems.set_rate!
PowerSystems.set_rate!
PowerSystems.set_rate!
PowerSystems.set_rating!
PowerSystems.set_rating!
PowerSystems.set_rating!
PowerSystems.set_rating!
PowerSystems.set_rating!
PowerSystems.set_rating!
PowerSystems.set_reactivepower!
PowerSystems.set_reactivepower!
PowerSystems.set_reactivepower!
PowerSystems.set_reactivepower!
PowerSystems.set_reactivepower!
PowerSystems.set_reactivepower!
PowerSystems.set_reactivepower!
PowerSystems.set_reactivepower!
PowerSystems.set_reactivepower!
PowerSystems.set_reactivepower_flow!
PowerSystems.set_reactivepower_flow!
PowerSystems.set_reactivepower_flow!
PowerSystems.set_reactivepower_flow!
PowerSystems.set_reactivepower_flow!
PowerSystems.set_reactivepowerlimits!
PowerSystems.set_reactivepowerlimits!
PowerSystems.set_reactivepowerlimits!
PowerSystems.set_reactivepowerlimits!
PowerSystems.set_reactivepowerlimits!
PowerSystems.set_reactivepowerlimits_from!
PowerSystems.set_reactivepowerlimits_to!
PowerSystems.set_rectifier_firing_angle!
PowerSystems.set_rectifier_taplimits!
PowerSystems.set_rectifier_xrc!
PowerSystems.set_requirement!
PowerSystems.set_requirement!
PowerSystems.set_requirement!
PowerSystems.set_rf!
PowerSystems.set_rf!
PowerSystems.set_rg!
PowerSystems.set_rv!
PowerSystems.set_s_rated!
PowerSystems.set_services!
PowerSystems.set_services!
PowerSystems.set_services!
PowerSystems.set_services!
PowerSystems.set_services!
PowerSystems.set_services!
PowerSystems.set_services!
PowerSystems.set_services!
PowerSystems.set_services!
PowerSystems.set_services!
PowerSystems.set_services!
PowerSystems.set_services!
PowerSystems.set_services!
PowerSystems.set_services!
PowerSystems.set_services!
PowerSystems.set_services!
PowerSystems.set_services!
PowerSystems.set_shutdn!
PowerSystems.set_startup!
PowerSystems.set_states!
PowerSystems.set_states!
PowerSystems.set_states!
PowerSystems.set_states!
PowerSystems.set_states!
PowerSystems.set_states!
PowerSystems.set_states!
PowerSystems.set_states!
PowerSystems.set_states!
PowerSystems.set_states!
PowerSystems.set_states!
PowerSystems.set_states!
PowerSystems.set_states!
PowerSystems.set_states!
PowerSystems.set_states!
PowerSystems.set_states!
PowerSystems.set_states!
PowerSystems.set_states!
PowerSystems.set_states!
PowerSystems.set_states!
PowerSystems.set_states!
PowerSystems.set_states!
PowerSystems.set_states!
PowerSystems.set_states!
PowerSystems.set_states!
PowerSystems.set_states!
PowerSystems.set_states!
PowerSystems.set_static_injector!
PowerSystems.set_status!
PowerSystems.set_storage_capacity!
PowerSystems.set_tap!
PowerSystems.set_tap!
PowerSystems.set_time_at_status!
PowerSystems.set_timeframe!
PowerSystems.set_timeframe!
PowerSystems.set_timeframe!
PowerSystems.set_timelimits!
PowerSystems.set_timelimits!
PowerSystems.set_timelimits!
PowerSystems.set_to!
PowerSystems.set_v_rated!
PowerSystems.set_variable!
PowerSystems.set_variable!
PowerSystems.set_voltage!
PowerSystems.set_voltage!
PowerSystems.set_voltagelimits!
PowerSystems.set_x!
PowerSystems.set_x!
PowerSystems.set_x!
PowerSystems.set_x!
PowerSystems.set_x!
PowerSystems.set_α!
PowerSystems.set_γd!
PowerSystems.set_γd!
PowerSystems.set_γq!
PowerSystems.set_γq!
PowerSystems.set_τ_max!
PowerSystems.set_τ_min!
PowerSystems.set_ω_lp!
PowerSystems.set_ωad!
PowerSystems.set_ωb!
PowerSystems.set_ωf!
PowerSystems.simplify_cost_terms!
PowerSystems.solve_powerflow!
PowerSystems.split_line
PowerSystems.standardize_cost_terms!
PowerSystems.to_json
PowerSystems.to_json
PowerSystems.total_capacity_rating
PowerSystems.total_load_rating
PowerSystems.update_data!
PowerSystems.validate_forecast_consistency
PowerSystems.validate_struct
Exported
PowerSystems.PowerSystems
— ModuleModule for constructing self-contained power system objects.
PowerSystems.AGC
— Typemutable struct AGC <: Service
name::String
available::Bool
bias::Float64
K_p::Float64
K_i::Float64
K_d::Float64
delta_t::Float64
area::Union{Nothing, Area}
ext::Dict{String, Any}
internal::InfrastructureSystemsInternal
end
Arguments
name::String
available::Bool
bias::Float64
K_p::Float64
: PID Proportional ConstantK_i::Float64
: PID Integral ConstantK_d::Float64
: PID Derrivative Constantdelta_t::Float64
: PID Discretization period [Seconds]area::Union{Nothing, Area}
: the area controlled by the AGCext::Dict{String, Any}
internal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.AVRFixed
— Typemutable struct AVRFixed <: AVR
Emf::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
end
Parameters of a AVR that returns a fixed voltage to the rotor winding
Arguments
Emf::Float64
: Fixed voltage to the rotor winding, validation range: (0, nothing)ext::Dict{String, Any}
states::Vector{Symbol}
: Fixed AVR has no statesn_states::Int64
: Fixed AVR has no statesinternal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.AVRSimple
— Typemutable struct AVRSimple <: AVR
Kv::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
end
Parameters of a simple proportional AVR in the derivative of EMF i.e. an integrator controller on EMF
Arguments
Kv::Float64
: Proportional Gain, validation range: (0, nothing)ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
: Fixed AVR has 1 statesinternal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.AVRTypeI
— Typemutable struct AVRTypeI <: AVR
Ka::Float64
Ke::Float64
Kf::Float64
Ta::Float64
Te::Float64
Tf::Float64
Tr::Float64
Vr_max::Float64
Vr_min::Float64
Ae::Float64
Be::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
end
Parameters of an Automatic Voltage Regulator Type I - Resembles IEEE Type DC1
Arguments
Ka::Float64
: Amplifier Gain, validation range: (0, nothing)Ke::Float64
: Field circuit integral deviation, validation range: (0, nothing)Kf::Float64
: Stabilizer Gain in s * pu/pu, validation range: (0, nothing)Ta::Float64
: Amplifier Time Constant in s, validation range: (0, nothing)Te::Float64
: Field Circuit Time Constant in s, validation range: (0, nothing)Tf::Float64
: Stabilizer Time Constant in s, validation range: (0, nothing)Tr::Float64
: Voltage Measurement Time Constant in s, validation range: (0, nothing)Vr_max::Float64
: Maximum regulator voltage in pu, validation range: (0, nothing)Vr_min::Float64
: Minimum regulator voltage in pu, validation range: (0, nothing)Ae::Float64
: 1st ceiling coefficient, validation range: (0, nothing)Be::Float64
: 2nd ceiling coefficient, validation range: (0, nothing)ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.AVRTypeII
— Typemutable struct AVRTypeII <: AVR
K0::Float64
T1::Float64
T2::Float64
T3::Float64
T4::Float64
Te::Float64
Tr::Float64
Vr_max::Float64
Vr_min::Float64
Ae::Float64
Be::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
end
Parameters of an Automatic Voltage Regulator Type II - Typical static exciter model
Arguments
K0::Float64
: Regulator Gain, validation range: (0, nothing)T1::Float64
: First Pole in s, validation range: (0, nothing)T2::Float64
: First zero in s, validation range: (0, nothing)T3::Float64
: First Pole in s, validation range: (0, nothing)T4::Float64
: First zero in s, validation range: (0, nothing)Te::Float64
: Field Circuit Time Constant in s, validation range: (0, nothing)Tr::Float64
: Voltage Measurement Time Constant in s, validation range: (0, nothing)Vr_max::Float64
: Maximum regulator voltage in pu, validation range: (0, nothing)Vr_min::Float64
: Minimum regulator voltage in pu, validation range: (0, nothing)Ae::Float64
: 1st ceiling coefficient, validation range: (0, nothing)Be::Float64
: 2nd ceiling coefficient, validation range: (0, nothing)ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.AggregationTopology
— TypeRepresents a geographical region of system components.
All subtypes must implement the method getaggregationtopology_accessor.
PowerSystems.AndersonFouadMachine
— Typemutable struct AndersonFouadMachine <: Machine
R::Float64
Xd::Float64
Xq::Float64
Xd_p::Float64
Xq_p::Float64
Xd_pp::Float64
Xq_pp::Float64
Td0_p::Float64
Tq0_p::Float64
Td0_pp::Float64
Tq0_pp::Float64
MVABase::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
end
Parameters of 6-states synchronous machine: Anderson-Fouad model
Arguments
R::Float64
: Resistance after EMF in machine per unit, validation range: (0, nothing)Xd::Float64
: Reactance after EMF in d-axis per unit, validation range: (0, nothing)Xq::Float64
: Reactance after EMF in q-axis per unit, validation range: (0, nothing)Xd_p::Float64
: Transient reactance after EMF in d-axis per unit, validation range: (0, nothing)Xq_p::Float64
: Transient reactance after EMF in q-axis per unit, validation range: (0, nothing)Xd_pp::Float64
: Sub-Transient reactance after EMF in d-axis per unit, validation range: (0, nothing)Xq_pp::Float64
: Sub-Transient reactance after EMF in q-axis per unit, validation range: (0, nothing)Td0_p::Float64
: Time constant of transient d-axis voltage, validation range: (0, nothing)Tq0_p::Float64
: Time constant of transient q-axis voltage, validation range: (0, nothing)Td0_pp::Float64
: Time constant of sub-transient d-axis voltage, validation range: (0, nothing)Tq0_pp::Float64
: Time constant of sub-transient q-axis voltage, validation range: (0, nothing)MVABase::Float64
: Nominal Capacity in MVA, validation range: (0, nothing)ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.Arc
— Typemutable struct Arc <: Topology
from::Bus
to::Bus
internal::InfrastructureSystemsInternal
end
A topological Arc.
Arguments
from::Bus
: The initial busto::Bus
: The terminal businternal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.Area
— Typemutable struct Area <: AggregationTopology
name::String
maxactivepower::Float64
maxreactivepower::Float64
forecasts::InfrastructureSystems.Forecasts
internal::InfrastructureSystemsInternal
end
A collection of buses for control purposes.
Arguments
name::String
maxactivepower::Float64
maxreactivepower::Float64
forecasts::InfrastructureSystems.Forecasts
: internal forecast storageinternal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.AverageConverter
— Typemutable struct AverageConverter <: Converter
v_rated::Float64
s_rated::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
end
Parameters of an average converter model
Arguments
v_rated::Float64
: rated voltage, validation range: (0, nothing)s_rated::Float64
: rated VA, validation range: (0, nothing)ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
PowerSystems.BaseMachine
— Typemutable struct BaseMachine <: Machine
R::Float64
Xd_p::Float64
eq_p::Float64
MVABase::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
end
Parameters of an Automatic Voltage Regulator Type II - Typical static exciter model
Arguments
R::Float64
: Resistance after EMF in machine per unit, validation range: (0, nothing)Xd_p::Float64
: Reactance after EMF in machine per unit, validation range: (0, nothing)eq_p::Float64
: Fixed EMF behind the impedance, validation range: (0, nothing)MVABase::Float64
: Nominal Capacity in MVA, validation range: (0, nothing)ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.Bus
— Typemutable struct Bus <: Topology
number::Int64
name::String
bustype::Union{Nothing, BusTypes.BusType}
angle::Union{Nothing, Float64}
voltage::Union{Nothing, Float64}
voltagelimits::Union{Nothing, Min_Max}
basevoltage::Union{Nothing, Float64}
area::Union{Nothing, Area}
load_zone::Union{Nothing, LoadZone}
ext::Dict{String, Any}
internal::InfrastructureSystemsInternal
end
A power-system bus.
Arguments
number::Int64
: number associated with the busname::String
: the name of the busbustype::Union{Nothing, BusTypes.BusType}
: bus typeangle::Union{Nothing, Float64}
: angle of the bus in radians, validation range: (-1.571, 1.571), action if invalid: errorvoltage::Union{Nothing, Float64}
: voltage as a multiple of basevoltage, validation range: voltagelimits, action if invalid: warnvoltagelimits::Union{Nothing, Min_Max}
: limits on the voltage variation as multiples of basevoltagebasevoltage::Union{Nothing, Float64}
: the base voltage in kV, validation range: (0, nothing), action if invalid: errorarea::Union{Nothing, Area}
: the area containing the busload_zone::Union{Nothing, LoadZone}
: the load zone containing the busext::Dict{String, Any}
internal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.Bus
— MethodBus(number, name, bustype, angle, voltage, voltagelimits, basevoltage, area, load_zone; ext)
Allows construction with bus type specified as a string for legacy code.
PowerSystems.CurrentControl
— Typemutable struct CurrentControl <: InnerControl
kpv::Float64
kiv::Float64
kffv::Float64
rv::Float64
lv::Float64
kpc::Float64
kic::Float64
kffi::Float64
ωad::Float64
kad::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
end
Parameters of an inner loop current control PID using virtual impedance.
Arguments
kpv::Float64
: voltage controller proportional gain, validation range: (0, nothing)kiv::Float64
: voltage controller integral gain, validation range: (0, nothing)kffv::Float64
: Binary variable to enable feed-forward gain of voltage., validation range: (0, nothing)rv::Float64
: virtual resistance, validation range: (0, nothing)lv::Float64
: virtual inductance, validation range: (0, nothing)kpc::Float64
: current controller proportional gain, validation range: (0, nothing)kic::Float64
: current controller integral gain, validation range: (0, nothing)kffi::Float64
: Binary variable to enable feed-forward gain of current, validation range: (0, nothing)ωad::Float64
: active damping filter cutoff frequency (rad/sec), validation range: (0, nothing)kad::Float64
: active damping gain, validation range: (0, nothing)ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
PowerSystems.DynamicInjection
— TypeAbstract type for all dynamic injection types
Subtypes must implement these methods:
PowerSystems.FiveMassShaft
— Typemutable struct FiveMassShaft <: Shaft
H::Float64
H_hp::Float64
H_ip::Float64
H_lp::Float64
H_ex::Float64
D::Float64
D_hp::Float64
D_ip::Float64
D_lp::Float64
D_ex::Float64
D_12::Float64
D_23::Float64
D_34::Float64
D_45::Float64
K_hp::Float64
K_ip::Float64
K_lp::Float64
K_ex::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
end
Parameters of 5 mass-spring shaft model. It contains a High-Pressure (HP) steam turbine, Intermediate-Pressure (IP) steam turbine, Low-Pressure (LP) steam turbine, the Rotor and an Exciter (EX) mover.
Arguments
H::Float64
: Rotor inertia constant in MWs/MVA, validation range: (0, nothing)H_hp::Float64
: High pressure turbine inertia constant in MWs/MVA, validation range: (0, nothing)H_ip::Float64
: Intermediate pressure turbine inertia constant in MWs/MVA, validation range: (0, nothing)H_lp::Float64
: Low pressure turbine inertia constant in MWs/MVA, validation range: (0, nothing)H_ex::Float64
: Exciter inertia constant in MWs/MVA, validation range: (0, nothing)D::Float64
: Rotor natural damping in pu, validation range: (0, nothing)D_hp::Float64
: High pressure turbine natural damping in pu, validation range: (0, nothing)D_ip::Float64
: Intermediate pressure turbine natural damping in pu, validation range: (0, nothing)D_lp::Float64
: Low pressure turbine natural damping in pu, validation range: (0, nothing)D_ex::Float64
: Exciter natural damping in pu, validation range: (0, nothing)D_12::Float64
: High-Intermediate pressure turbine damping, validation range: (0, nothing)D_23::Float64
: Intermediate-Low pressure turbine damping, validation range: (0, nothing)D_34::Float64
: Low pressure turbine-Rotor damping, validation range: (0, nothing)D_45::Float64
: Rotor-Exciter damping, validation range: (0, nothing)K_hp::Float64
: High pressure turbine angle coefficient, validation range: (0, nothing)K_ip::Float64
: Intermediate pressure turbine angle coefficient, validation range: (0, nothing)K_lp::Float64
: Low pressure turbine angle coefficient, validation range: (0, nothing)K_ex::Float64
: Exciter angle coefficient, validation range: (0, nothing)ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.FixedAdmittance
— Typemutable struct FixedAdmittance <: ElectricLoad
name::String
available::Bool
bus::Bus
Y::Complex{Float64}
services::Vector{Service}
ext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
internal::InfrastructureSystemsInternal
end
Arguments
name::String
available::Bool
bus::Bus
Y::Complex{Float64}
: System per-unit valueservices::Vector{Service}
: Services that this device contributes toext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
: internal forecast storageinternal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.FixedDCSource
— Typemutable struct FixedDCSource <: DCSource
voltage::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
end
Parameters of a Fixed DC Source that returns a fixed DC voltage
Arguments
voltage::Float64
: rated VA, validation range: (0, nothing)ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.FullMachine
— Typemutable struct FullMachine <: Machine
R::Float64
R_f::Float64
R_1d::Float64
R_1q::Float64
L_d::Float64
L_q::Float64
L_ad::Float64
L_aq::Float64
L_f1d::Float64
L_ff::Float64
L_1d::Float64
L_1q::Float64
MVABase::Float64
ext::Dict{String, Any}
inv_d_fluxlink::Array{Float64,2}
inv_q_fluxlink::Array{Float64,2}
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
end
Parameter of a full order flux stator-rotor model without zero sequence flux in the stator. The derivative of stator fluxes (ψd and ψq) is NOT neglected. Only one q-axis damping circuit is considered. All parameters are in machine per unit. Refer to Chapter 3 of Power System Stability and Control by P. Kundur or Chapter 11 of Power System Dynamics: Stability and Control, by J. Machowski, J. Bialek and J. Bumby, for more details. Note that the models are somewhat different (but equivalent) due to the different Park Transformation used in both books.
Arguments
R::Float64
: Resistance after EMF in machine per unit, validation range: (0, nothing)R_f::Float64
: Field rotor winding resistance in per unit, validation range: (0, nothing)R_1d::Float64
: Damping rotor winding resistance on d-axis in per unit. This value is denoted as RD in Machowski., validation range: (0, nothing)R_1q::Float64
: Damping rotor winding resistance on q-axis in per unit. This value is denoted as RQ in Machowski., validation range: (0, nothing)L_d::Float64
: Inductance of fictitious damping that represent the effect of the three-phase stator winding in the d-axis of the rotor, in per unit. This value is denoted as Lad + Ll in Kundur (and Ld in Machowski)., validation range: (0, nothing)L_q::Float64
: Inductance of fictitious damping that represent the effect of the three-phase stator winding in the q-axis of the rotor, in per unit. This value is denoted as Laq + Ll in Kundur., validation range: (0, nothing)L_ad::Float64
: Mutual inductance between stator winding and rotor field (and damping) winding inductance on d-axis, in per unit, validation range: (0, nothing)L_aq::Float64
: Mutual inductance between stator winding and rotor damping winding inductance on q-axis, in per unit, validation range: (0, nothing)L_f1d::Float64
: Mutual inductance between rotor field winding and rotor damping winding inductance on d-axis, in per unit, validation range: (0, nothing)L_ff::Float64
: Field rotor winding inductance, in per unit, validation range: (0, nothing)L_1d::Float64
: Inductance of the d-axis rotor damping circuit, in per unit, validation range: (0, nothing)L_1q::Float64
: Inductance of the q-axis rotor damping circuit, in per unit, validation range: (0, nothing)MVABase::Float64
: Nominal Capacity in MVA, validation range: (0, nothing)ext::Dict{String, Any}
inv_d_fluxlink::Array{Float64,2}
: Equations 3.127, 3.130, 3.131 From Kundurinv_q_fluxlink::Array{Float64,2}
: Equations 3.128, 3.132 From Kundurstates::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.GenericBattery
— Typemutable struct GenericBattery <: Storage
name::String
available::Bool
bus::Bus
primemover::PrimeMovers.PrimeMover
energy::Float64
capacity::Min_Max
rating::Float64
activepower::Float64
inputactivepowerlimits::Min_Max
outputactivepowerlimits::Min_Max
efficiency::NamedTuple{(:in, :out), Tuple{Float64, Float64}}
reactivepower::Float64
reactivepowerlimits::Union{Nothing, Min_Max}
services::Vector{Service}
dynamic_injector::Union{Nothing, DynamicInjection}
ext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
internal::InfrastructureSystemsInternal
end
Data structure for a generic battery
Arguments
name::String
available::Bool
bus::Bus
primemover::PrimeMovers.PrimeMover
: PrimeMover Technology according to EIA 923energy::Float64
: State of Charge of the Battery p.u.-hr, validation range: (0, nothing), action if invalid: errorcapacity::Min_Max
: Maximum and Minimum storage capacity in p.u.-hr, validation range: (0, nothing), action if invalid: errorrating::Float64
activepower::Float64
inputactivepowerlimits::Min_Max
, validation range: (0, nothing), action if invalid: erroroutputactivepowerlimits::Min_Max
, validation range: (0, nothing), action if invalid: errorefficiency::NamedTuple{(:in, :out), Tuple{Float64, Float64}}
, validation range: (0, 1), action if invalid: warnreactivepower::Float64
, validation range: reactivepowerlimits, action if invalid: warnreactivepowerlimits::Union{Nothing, Min_Max}
services::Vector{Service}
: Services that this device contributes todynamic_injector::Union{Nothing, DynamicInjection}
: corresponding dynamic injection deviceext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
: internal forecast storageinternal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.HVDCLine
— Typemutable struct HVDCLine <: DCBranch
name::String
available::Bool
activepower_flow::Float64
arc::Arc
activepowerlimits_from::Min_Max
activepowerlimits_to::Min_Max
reactivepowerlimits_from::Min_Max
reactivepowerlimits_to::Min_Max
loss::NamedTuple{(:l0, :l1), Tuple{Float64, Float64}}
services::Vector{Service}
ext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
internal::InfrastructureSystemsInternal
end
a High voltage DC line.
Arguments
name::String
available::Bool
activepower_flow::Float64
arc::Arc
activepowerlimits_from::Min_Max
activepowerlimits_to::Min_Max
reactivepowerlimits_from::Min_Max
reactivepowerlimits_to::Min_Max
loss::NamedTuple{(:l0, :l1), Tuple{Float64, Float64}}
services::Vector{Service}
: Services that this device contributes toext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
: internal forecast storageinternal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.HydroDispatch
— Typemutable struct HydroDispatch <: HydroGen
name::String
available::Bool
bus::Bus
activepower::Float64
reactivepower::Float64
rating::Float64
primemover::PrimeMovers.PrimeMover
activepowerlimits::Min_Max
reactivepowerlimits::Union{Nothing, Min_Max}
ramplimits::Union{Nothing, NamedTuple{(:up, :down), Tuple{Float64, Float64}}}
timelimits::Union{Nothing, NamedTuple{(:up, :down), Tuple{Float64, Float64}}}
services::Vector{Service}
dynamic_injector::Union{Nothing, DynamicInjection}
ext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
internal::InfrastructureSystemsInternal
end
Arguments
name::String
available::Bool
bus::Bus
activepower::Float64
reactivepower::Float64
, validation range: reactivepowerlimits, action if invalid: warnrating::Float64
: Thermal limited MVA Power Output of the unit. <= Capacity, validation range: (0, nothing), action if invalid: errorprimemover::PrimeMovers.PrimeMover
: PrimeMover Technology according to EIA 923activepowerlimits::Min_Max
reactivepowerlimits::Union{Nothing, Min_Max}
, action if invalid: warnramplimits::Union{Nothing, NamedTuple{(:up, :down), Tuple{Float64, Float64}}}
: ramp up and ramp down limits, validation range: (0, nothing), action if invalid: errortimelimits::Union{Nothing, NamedTuple{(:up, :down), Tuple{Float64, Float64}}}
: Minimum up and Minimum down time limits in hours, validation range: (0, nothing), action if invalid: errorservices::Vector{Service}
: Services that this device contributes todynamic_injector::Union{Nothing, DynamicInjection}
: corresponding dynamic injection deviceext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
: internal forecast storageinternal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.HydroEnergyReservoir
— Typemutable struct HydroEnergyReservoir <: HydroGen
name::String
available::Bool
bus::Bus
activepower::Float64
reactivepower::Float64
rating::Float64
primemover::PrimeMovers.PrimeMover
activepowerlimits::Min_Max
reactivepowerlimits::Union{Nothing, Min_Max}
ramplimits::Union{Nothing, NamedTuple{(:up, :down), Tuple{Float64, Float64}}}
timelimits::Union{Nothing, NamedTuple{(:up, :down), Tuple{Float64, Float64}}}
op_cost::TwoPartCost
storage_capacity::Float64
inflow::Float64
initial_storage::Float64
services::Vector{Service}
dynamic_injector::Union{Nothing, DynamicInjection}
ext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
internal::InfrastructureSystemsInternal
end
Arguments
name::String
available::Bool
bus::Bus
activepower::Float64
reactivepower::Float64
, validation range: reactivepowerlimits, action if invalid: warnrating::Float64
: Thermal limited MVA Power Output of the unit. <= Capacity, validation range: (0, nothing), action if invalid: errorprimemover::PrimeMovers.PrimeMover
: PrimeMover Technology according to EIA 923activepowerlimits::Min_Max
reactivepowerlimits::Union{Nothing, Min_Max}
, action if invalid: warnramplimits::Union{Nothing, NamedTuple{(:up, :down), Tuple{Float64, Float64}}}
: ramp up and ramp down limits, validation range: (0, nothing), action if invalid: errortimelimits::Union{Nothing, NamedTuple{(:up, :down), Tuple{Float64, Float64}}}
: Minimum up and Minimum down time limits in hours, validation range: (0, nothing), action if invalid: errorop_cost::TwoPartCost
: Operation Cost of GenerationTwoPartCost
storage_capacity::Float64
, validation range: (0, nothing), action if invalid: errorinflow::Float64
, validation range: (0, nothing), action if invalid: errorinitial_storage::Float64
, validation range: (0, nothing), action if invalid: errorservices::Vector{Service}
: Services that this device contributes todynamic_injector::Union{Nothing, DynamicInjection}
: corresponding dynamic injection deviceext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
: internal forecast storageinternal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.InterruptibleLoad
— Typemutable struct InterruptibleLoad <: ControllableLoad
name::String
available::Bool
bus::Bus
model::LoadModels.LoadModel
activepower::Float64
reactivepower::Float64
maxactivepower::Float64
maxreactivepower::Float64
op_cost::TwoPartCost
services::Vector{Service}
dynamic_injector::Union{Nothing, DynamicInjection}
ext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
internal::InfrastructureSystemsInternal
end
Arguments
name::String
available::Bool
bus::Bus
model::LoadModels.LoadModel
activepower::Float64
reactivepower::Float64
maxactivepower::Float64
maxreactivepower::Float64
op_cost::TwoPartCost
: Operation Cost of GenerationTwoPartCost
services::Vector{Service}
: Services that this device contributes todynamic_injector::Union{Nothing, DynamicInjection}
: corresponding dynamic injection deviceext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
: internal forecast storageinternal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.KauraPLL
— Typemutable struct KauraPLL <: FrequencyEstimator
ω_lp::Float64
kp_pll::Float64
ki_pll::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
end
Parameters of a Phase-Locked Loop (PLL) based on Kaura, Vikram, and Vladimir Blasko. "Operation of a phase locked loop system under distorted utility conditions." IEEE Transactions on Industry applications 33.1 (1997): 58-63.
Arguments
ω_lp::Float64
: PLL low-pass filter frequency (rad/sec), validation range: (0, nothing)kp_pll::Float64
: PLL proportional gain, validation range: (0, nothing)ki_pll::Float64
: PLL integral gain, validation range: (0, nothing)ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
PowerSystems.LCLFilter
— Typemutable struct LCLFilter <: Filter
lf::Float64
rf::Float64
cf::Float64
lg::Float64
rg::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
end
Parameters of a LCL filter outside the converter, the states are in the grid's reference frame
Arguments
lf::Float64
: Series inductance in p.u. of converter filter, validation range: (0, nothing)rf::Float64
: Series resistance in p.u. of converter filter, validation range: (0, nothing)cf::Float64
: Shunt capacitance in p.u. of converter filter, validation range: (0, nothing)lg::Float64
: Series inductance in p.u. of converter filter to the grid, validation range: (0, nothing)rg::Float64
: Series resistance in p.u. of converter filter to the grid, validation range: (0, nothing)ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
PowerSystems.Line
— Typemutable struct Line <: ACBranch
name::String
available::Bool
activepower_flow::Float64
reactivepower_flow::Float64
arc::Arc
r::Float64
x::Float64
b::NamedTuple{(:from, :to), Tuple{Float64, Float64}}
rate::Float64
anglelimits::NamedTuple{(:min, :max), Tuple{Float64, Float64}}
services::Vector{Service}
ext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
internal::InfrastructureSystemsInternal
end
Arguments
name::String
available::Bool
activepower_flow::Float64
reactivepower_flow::Float64
arc::Arc
r::Float64
: System per-unit value, validation range: (0, 4), action if invalid: errorx::Float64
: System per-unit value, validation range: (0, 4), action if invalid: errorb::NamedTuple{(:from, :to), Tuple{Float64, Float64}}
: System per-unit value, validation range: (0, 100), action if invalid: errorrate::Float64
anglelimits::NamedTuple{(:min, :max), Tuple{Float64, Float64}}
, validation range: (-1.571, 1.571), action if invalid: errorservices::Vector{Service}
: Services that this device contributes toext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
: internal forecast storageinternal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.Line
— MethodLine(name, available, activepower_flow, reactivepower_flow, arc, r, x, b, rate, anglelimits)
Accepts anglelimits as a Float64.
PowerSystems.LoadZone
— Typemutable struct LoadZone <: AggregationTopology
name::String
maxactivepower::Float64
maxreactivepower::Float64
forecasts::InfrastructureSystems.Forecasts
internal::InfrastructureSystemsInternal
end
A collection of buses for electricity price analysis.
Arguments
name::String
maxactivepower::Float64
maxreactivepower::Float64
forecasts::InfrastructureSystems.Forecasts
: internal forecast storageinternal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.MarconatoMachine
— Typemutable struct MarconatoMachine <: Machine
R::Float64
Xd::Float64
Xq::Float64
Xd_p::Float64
Xq_p::Float64
Xd_pp::Float64
Xq_pp::Float64
Td0_p::Float64
Tq0_p::Float64
Td0_pp::Float64
Tq0_pp::Float64
T_AA::Float64
MVABase::Float64
ext::Dict{String, Any}
γd::Float64
γq::Float64
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
end
Parameters of 6-states synchronous machine: Marconato model
Arguments
R::Float64
: Resistance after EMF in machine per unit, validation range: (0, nothing)Xd::Float64
: Reactance after EMF in d-axis per unit, validation range: (0, nothing)Xq::Float64
: Reactance after EMF in q-axis per unit, validation range: (0, nothing)Xd_p::Float64
: Transient reactance after EMF in d-axis per unit, validation range: (0, nothing)Xq_p::Float64
: Transient reactance after EMF in q-axis per unit, validation range: (0, nothing)Xd_pp::Float64
: Sub-Transient reactance after EMF in d-axis per unit, validation range: (0, nothing)Xq_pp::Float64
: Sub-Transient reactance after EMF in q-axis per unit, validation range: (0, nothing)Td0_p::Float64
: Time constant of transient d-axis voltage, validation range: (0, nothing)Tq0_p::Float64
: Time constant of transient q-axis voltage, validation range: (0, nothing)Td0_pp::Float64
: Time constant of sub-transient d-axis voltage, validation range: (0, nothing)Tq0_pp::Float64
: Time constant of sub-transient q-axis voltage, validation range: (0, nothing)T_AA::Float64
: Time constant of d-axis additional leakage, validation range: (0, nothing)MVABase::Float64
: Nominal Capacity in MVA, validation range: (0, nothing)ext::Dict{String, Any}
γd::Float64
γq::Float64
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.MonitoredLine
— Typemutable struct MonitoredLine <: ACBranch
name::String
available::Bool
activepower_flow::Float64
reactivepower_flow::Float64
arc::Arc
r::Float64
x::Float64
b::NamedTuple{(:from, :to), Tuple{Float64, Float64}}
flowlimits::NamedTuple{(:from_to, :to_from), Tuple{Float64, Float64}}
rate::Float64
anglelimits::Min_Max
services::Vector{Service}
ext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
internal::InfrastructureSystemsInternal
end
Arguments
name::String
available::Bool
activepower_flow::Float64
reactivepower_flow::Float64
arc::Arc
r::Float64
: System per-unit value, validation range: (0, 4), action if invalid: errorx::Float64
: System per-unit value, validation range: (0, 4), action if invalid: errorb::NamedTuple{(:from, :to), Tuple{Float64, Float64}}
: System per-unit value, validation range: (0, 2), action if invalid: errorflowlimits::NamedTuple{(:from_to, :to_from), Tuple{Float64, Float64}}
: TODO: throw warning above max SILrate::Float64
: TODO: compare to SIL (warn) (theoretical limit)anglelimits::Min_Max
, validation range: (-1.571, 1.571), action if invalid: errorservices::Vector{Service}
: Services that this device contributes toext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
: internal forecast storageinternal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.OneDOneQMachine
— Typemutable struct OneDOneQMachine <: Machine
R::Float64
Xd::Float64
Xq::Float64
Xd_p::Float64
Xq_p::Float64
Td0_p::Float64
Tq0_p::Float64
MVABase::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
end
Parameters of 4-states synchronous machine: Simplified Marconato model The derivative of stator fluxes (ψd and ψq) is neglected and ωψd = ψd and ωψq = ψq is assumed (i.e. ω=1.0). This is standard when transmission network dynamics is neglected.
Arguments
R::Float64
: Resistance after EMF in machine per unit, validation range: (0, nothing)Xd::Float64
: Reactance after EMF in d-axis per unit, validation range: (0, nothing)Xq::Float64
: Reactance after EMF in q-axis per unit, validation range: (0, nothing)Xd_p::Float64
: Transient reactance after EMF in d-axis per unit, validation range: (0, nothing)Xq_p::Float64
: Transient reactance after EMF in q-axis per unit, validation range: (0, nothing)Td0_p::Float64
: Time constant of transient d-axis voltage, validation range: (0, nothing)Tq0_p::Float64
: Time constant of transient q-axis voltage, validation range: (0, nothing)MVABase::Float64
: Nominal Capacity in MVA, validation range: (0, nothing)ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.OuterControl
— TypeParameters of a Outer-Loop controller using a virtual inertia with VSM for active power controller and a reactive power droop controller.
Conmutable structor
VirtualInertiaQDroop(A, R)
Arguments
A
::Float64 : Active power controller using virtual inertia with VSMR
::Float64 : Reactive power controller using reactive power droop
PowerSystems.PSSFixed
— Typemutable struct PSSFixed <: PSS
V_pss::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
end
Parameters of a PSS that returns a fixed voltage to add to the reference for the AVR
Arguments
V_pss::Float64
: Fixed voltage stabilization signal, validation range: (0, nothing)ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.PhaseShiftingTransformer
— Typemutable struct PhaseShiftingTransformer <: ACBranch
name::String
available::Bool
activepower_flow::Float64
reactivepower_flow::Float64
arc::Arc
r::Float64
x::Float64
primaryshunt::Float64
tap::Float64
α::Float64
rate::Union{Nothing, Float64}
services::Vector{Service}
ext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
internal::InfrastructureSystemsInternal
end
Arguments
name::String
available::Bool
activepower_flow::Float64
reactivepower_flow::Float64
arc::Arc
r::Float64
: System per-unit value, validation range: (0, 4), action if invalid: errorx::Float64
: System per-unit value, validation range: (-2, 4), action if invalid: errorprimaryshunt::Float64
, validation range: (0, 2), action if invalid: errortap::Float64
, validation range: (0, 2), action if invalid: errorα::Float64
, validation range: (-1.571, 1.571), action if invalid: warnrate::Union{Nothing, Float64}
, validation range: (0, nothing), action if invalid: errorservices::Vector{Service}
: Services that this device contributes toext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
: internal forecast storageinternal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.PowerLoad
— Typemutable struct PowerLoad <: StaticLoad
name::String
available::Bool
bus::Bus
model::Union{Nothing, LoadModels.LoadModel}
activepower::Float64
reactivepower::Float64
maxactivepower::Float64
maxreactivepower::Float64
services::Vector{Service}
dynamic_injector::Union{Nothing, DynamicInjection}
ext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
internal::InfrastructureSystemsInternal
end
Data structure for a static power load.
Arguments
name::String
available::Bool
bus::Bus
model::Union{Nothing, LoadModels.LoadModel}
activepower::Float64
reactivepower::Float64
maxactivepower::Float64
maxreactivepower::Float64
services::Vector{Service}
: Services that this device contributes todynamic_injector::Union{Nothing, DynamicInjection}
: corresponding dynamic injection deviceext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
: internal forecast storageinternal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.PowerModelsData
— TypeContainer for data parsed by PowerModels
PowerSystems.PowerModelsData
— MethodPowerModelsData(file; kwargs...)
Constructs PowerModelsData from a raw file. Currently Supports MATPOWER and PSSE data files parsed by PowerModels.
PowerSystems.PowerSystemType
— TypeSupertype for all PowerSystems types. All subtypes must include a InfrastructureSystemsInternal member. Subtypes should call InfrastructureSystemsInternal() by default, but also must provide a constructor that allows existing values to be deserialized.
PowerSystems.ReactivePowerDroop
— Typemutable struct ReactivePowerDroop <: ReactivePowerControl
kq::Float64
ωf::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
end
Parameters of a Reactive Power droop controller
Arguments
kq::Float64
: frequency droop gain, validation range: (0, nothing)ωf::Float64
: filter frequency cutoff, validation range: (0, nothing)ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
PowerSystems.RenewableDispatch
— Typemutable struct RenewableDispatch <: RenewableGen
name::String
available::Bool
bus::Bus
activepower::Float64
reactivepower::Float64
rating::Float64
primemover::PrimeMovers.PrimeMover
reactivepowerlimits::Union{Nothing, Min_Max}
powerfactor::Float64
op_cost::TwoPartCost
services::Vector{Service}
dynamic_injector::Union{Nothing, DynamicInjection}
ext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
internal::InfrastructureSystemsInternal
end
Arguments
name::String
available::Bool
bus::Bus
activepower::Float64
reactivepower::Float64
rating::Float64
: Thermal limited MVA Power Output of the unit. <= Capacity, validation range: (0, nothing), action if invalid: errorprimemover::PrimeMovers.PrimeMover
: PrimeMover Technology according to EIA 923reactivepowerlimits::Union{Nothing, Min_Max}
powerfactor::Float64
, validation range: (0, 1), action if invalid: errorop_cost::TwoPartCost
: Operation Cost of GenerationTwoPartCost
services::Vector{Service}
: Services that this device contributes todynamic_injector::Union{Nothing, DynamicInjection}
: corresponding dynamic injection deviceext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
: internal forecast storageinternal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.RenewableFix
— Typemutable struct RenewableFix <: RenewableGen
name::String
available::Bool
bus::Bus
activepower::Float64
reactivepower::Float64
rating::Float64
primemover::PrimeMovers.PrimeMover
powerfactor::Float64
services::Vector{Service}
dynamic_injector::Union{Nothing, DynamicInjection}
ext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
internal::InfrastructureSystemsInternal
end
Data Structure for fixed renewable generation technologies.
Arguments
name::String
available::Bool
bus::Bus
activepower::Float64
reactivepower::Float64
rating::Float64
: Thermal limited MVA Power Output of the unit. <= Capacity, validation range: (0, nothing), action if invalid: errorprimemover::PrimeMovers.PrimeMover
: PrimeMover Technology according to EIA 923powerfactor::Float64
, validation range: (0, 1), action if invalid: errorservices::Vector{Service}
: Services that this device contributes todynamic_injector::Union{Nothing, DynamicInjection}
: corresponding dynamic injection deviceext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
: internal forecast storageinternal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.ReserveDemandCurve
— Typemutable struct ReserveDemandCurve{T <: ReserveDirection} <: Reserve{T}
name::String
available::Bool
timeframe::Float64
op_cost::TwoPartCost
ext::Dict{String, Any}
internal::InfrastructureSystemsInternal
end
Data Structure for a operating reserve with demand curve product for system simulations.
Arguments
name::String
available::Bool
timeframe::Float64
: the relative saturation timeframe, validation range: (0, nothing), action if invalid: errorop_cost::TwoPartCost
: Cost for providing reservesTwoPartCost
ext::Dict{String, Any}
internal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.SimpleAFMachine
— Typemutable struct SimpleAFMachine <: Machine
R::Float64
Xd::Float64
Xq::Float64
Xd_p::Float64
Xq_p::Float64
Xd_pp::Float64
Xq_pp::Float64
Td0_p::Float64
Tq0_p::Float64
Td0_pp::Float64
Tq0_pp::Float64
MVABase::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
end
Parameters of 4-states simplified Anderson-Fouad (SimpleAFMachine) model. The derivative of stator fluxes (ψd and ψq) is neglected and ωψd = ψd and ωψq = ψq is assumed (i.e. ω=1.0). This is standard when transmission network dynamics is neglected. If transmission dynamics is considered use the full order Anderson Fouad model.
Arguments
R::Float64
: Resistance after EMF in machine per unit, validation range: (0, nothing)Xd::Float64
: Reactance after EMF in d-axis per unit, validation range: (0, nothing)Xq::Float64
: Reactance after EMF in q-axis per unit, validation range: (0, nothing)Xd_p::Float64
: Transient reactance after EMF in d-axis per unit, validation range: (0, nothing)Xq_p::Float64
: Transient reactance after EMF in q-axis per unit, validation range: (0, nothing)Xd_pp::Float64
: Sub-Transient reactance after EMF in d-axis per unit, validation range: (0, nothing)Xq_pp::Float64
: Sub-Transient reactance after EMF in q-axis per unit, validation range: (0, nothing)Td0_p::Float64
: Time constant of transient d-axis voltage, validation range: (0, nothing)Tq0_p::Float64
: Time constant of transient q-axis voltage, validation range: (0, nothing)Td0_pp::Float64
: Time constant of sub-transient d-axis voltage, validation range: (0, nothing)Tq0_pp::Float64
: Time constant of sub-transient q-axis voltage, validation range: (0, nothing)MVABase::Float64
: Nominal Capacity in MVA, validation range: (0, nothing)ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.SimpleFullMachine
— Typemutable struct SimpleFullMachine <: Machine
R::Float64
R_f::Float64
R_1d::Float64
R_1q::Float64
L_d::Float64
L_q::Float64
L_ad::Float64
L_aq::Float64
L_f1d::Float64
L_ff::Float64
L_1d::Float64
L_1q::Float64
MVABase::Float64
ext::Dict{String, Any}
inv_d_fluxlink::Array{Float64,2}
inv_q_fluxlink::Array{Float64,2}
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
end
Parameter of a full order flux stator-rotor model without zero sequence flux in the stator. The derivative of stator fluxes (ψd and ψq) is neglected. This is standard when transmission network dynamics is neglected. Only one q-axis damping circuit is considered. All per unit are in machine per unit. Refer to Chapter 3 of Power System Stability and Control by P. Kundur or Chapter 11 of Power System Dynamics: Stability and Control, by J. Machowski, J. Bialek and J. Bumby, for more details. Note that the models are somewhat different (but equivalent) due to the different Park Transformation used in both books.
Arguments
R::Float64
: Resistance after EMF in machine per unit, validation range: (0, nothing)R_f::Float64
: Field rotor winding resistance in per unit, validation range: (0, nothing)R_1d::Float64
: Damping rotor winding resistance on d-axis in per unit. This value is denoted as RD in Machowski., validation range: (0, nothing)R_1q::Float64
: Damping rotor winding resistance on q-axis in per unit. This value is denoted as RQ in Machowski., validation range: (0, nothing)L_d::Float64
: Inductance of fictitious damping that represent the effect of the three-phase stator winding in the d-axis of the rotor, in per unit. This value is denoted as Lad + Ll in Kundur (and Ld in Machowski)., validation range: (0, nothing)L_q::Float64
: Inductance of fictitious damping that represent the effect of the three-phase stator winding in the q-axis of the rotor, in per unit. This value is denoted as Laq + Ll in Kundur., validation range: (0, nothing)L_ad::Float64
: Mutual inductance between stator winding and rotor field (and damping) winding inductance on d-axis, in per unit, validation range: (0, nothing)L_aq::Float64
: Mutual inductance between stator winding and rotor damping winding inductance on q-axis, in per unit, validation range: (0, nothing)L_f1d::Float64
: Mutual inductance between rotor field winding and rotor damping winding inductance on d-axis, in per unit, validation range: (0, nothing)L_ff::Float64
: Field rotor winding inductance, in per unit, validation range: (0, nothing)L_1d::Float64
: Inductance of the d-axis rotor damping circuit, in per unit, validation range: (0, nothing)L_1q::Float64
: Inductance of the q-axis rotor damping circuit, in per unit, validation range: (0, nothing)MVABase::Float64
: Nominal Capacity in MVA, validation range: (0, nothing)ext::Dict{String, Any}
inv_d_fluxlink::Array{Float64,2}
: Equations 3.127, 3.130, 3.131 From Kundurinv_q_fluxlink::Array{Float64,2}
: Equations 3.128, 3.132 From Kundurstates::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.SimpleMarconatoMachine
— Typemutable struct SimpleMarconatoMachine <: Machine
R::Float64
Xd::Float64
Xq::Float64
Xd_p::Float64
Xq_p::Float64
Xd_pp::Float64
Xq_pp::Float64
Td0_p::Float64
Tq0_p::Float64
Td0_pp::Float64
Tq0_pp::Float64
T_AA::Float64
MVABase::Float64
ext::Dict{String, Any}
γd::Float64
γq::Float64
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
end
Parameters of 4-states synchronous machine: Simplified Marconato model The derivative of stator fluxes (ψd and ψq) is neglected and ωψd = ψd and ωψq = ψq is assumed (i.e. ω=1.0). This is standard when transmission network dynamics is neglected.
Arguments
R::Float64
: Resistance after EMF in machine per unit, validation range: (0, nothing)Xd::Float64
: Reactance after EMF in d-axis per unit, validation range: (0, nothing)Xq::Float64
: Reactance after EMF in q-axis per unit, validation range: (0, nothing)Xd_p::Float64
: Transient reactance after EMF in d-axis per unit, validation range: (0, nothing)Xq_p::Float64
: Transient reactance after EMF in q-axis per unit, validation range: (0, nothing)Xd_pp::Float64
: Sub-Transient reactance after EMF in d-axis per unit, validation range: (0, nothing)Xq_pp::Float64
: Sub-Transient reactance after EMF in q-axis per unit, validation range: (0, nothing)Td0_p::Float64
: Time constant of transient d-axis voltage, validation range: (0, nothing)Tq0_p::Float64
: Time constant of transient q-axis voltage, validation range: (0, nothing)Td0_pp::Float64
: Time constant of sub-transient d-axis voltage, validation range: (0, nothing)Tq0_pp::Float64
: Time constant of sub-transient q-axis voltage, validation range: (0, nothing)T_AA::Float64
: Time constant of d-axis additional leakage, validation range: (0, nothing)MVABase::Float64
: Nominal Capacity in MVA, validation range: (0, nothing)ext::Dict{String, Any}
γd::Float64
γq::Float64
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.SingleMass
— Typemutable struct SingleMass <: Shaft
H::Float64
D::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
end
Parameters of single mass shaft model. Typically represents the rotor mass.
Arguments
H::Float64
: Rotor inertia constant in MWs/MVA, validation range: (0, nothing)D::Float64
: Rotor natural damping in pu, validation range: (0, nothing)ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.Source
— Typemutable struct Source <: StaticInjection
name::String
available::Bool
bus::Bus
activepower::Float64
reactivepower::Float64
X_th::Float64
services::Vector{Service}
ext::Dict{String, Any}
internal::InfrastructureSystemsInternal
end
This struct acts as an infinity bus.
Arguments
name::String
available::Bool
bus::Bus
activepower::Float64
reactivepower::Float64
X_th::Float64
: Source Thevenin impedance, validation range: (0, nothing)services::Vector{Service}
: Services that this device contributes toext::Dict{String, Any}
internal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.StaticReserve
— Typemutable struct StaticReserve{T <: ReserveDirection} <: Reserve{T}
name::String
available::Bool
timeframe::Float64
requirement::Float64
ext::Dict{String, Any}
internal::InfrastructureSystemsInternal
end
Data Structure for a proportional reserve product for system simulations.
Arguments
name::String
available::Bool
timeframe::Float64
: the relative saturation timeframe, validation range: (0, nothing), action if invalid: errorrequirement::Float64
: the static value of required reserves, validation range: (0, nothing), action if invalid: errorext::Dict{String, Any}
internal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.StaticReserve
— MethodStaticReserve(name, contributingdevices, timeframe, requirement, forecasts, internal)
Allows construction of a reserve from an iterator.
PowerSystems.System
— TypeSystem
A power system defined by fields for basepower, components, and forecasts.
System(basepower)
System(components, basepower)
System(buses, generators, loads, branches, storage, basepower, services, annex; kwargs...)
System(buses, generators, loads, basepower; kwargs...)
System(file; kwargs...)
System(; buses, generators, loads, branches, storage, basepower, services, annex, kwargs...)
System(; kwargs...)
Arguments
buses::Vector{Bus}
: an array of busesgenerators::Vector{Generator}
: an array of generators of (possibly) different typesloads::Vector{ElectricLoad}
: an array of load specifications that includes timing of the loadsbranches::Union{Nothing, Vector{Branch}}
: an array of branches; may benothing
storage::Union{Nothing, Vector{Storage}}
: an array of storage devices; may benothing
basepower::Float64
: the base power value for the systemservices::Union{Nothing, Vector{<:Service}}
: an array of services; may benothing
Keyword arguments
runchecks::Bool
: Run available checks on input fields and when add_component! is called. Throws InvalidRange if an error is found.time_series_in_memory::Bool=false
: Store time series data in memory instead of HDF5.configpath::String
: specify path to validation config file
PowerSystems.System
— MethodSystem(file_path; kwargs...)
Constructs a System from a file path ending with .m, .RAW, or .json
PowerSystems.System
— MethodSystem(data, basepower; kwargs...)
Construct a System
from InfrastructureSystems.SystemData
PowerSystems.System
— MethodSystem(basepower; kwargs...)
Construct an empty System
. Useful for building a System while parsing raw data.
PowerSystems.System
— MethodSystem(buses, generators, loads, basepower; kwargs...)
System constructor without nothing-able arguments.
PowerSystems.System
— MethodSystem(buses, generators, loads, branches, storage, basepower, services, annex; kwargs...)
System constructor when components are constructed externally.
PowerSystems.System
— MethodSystem(; buses, generators, loads, branches, storage, basepower, services, annex, kwargs...)
Constructs a non-functional System for demo purposes.
PowerSystems.System
— MethodSystem(pm_data; kwargs...)
Constructs a System from PowerModelsData. Supports kwargs to supply formatters for different device types, such as bus_name_formatter
or gen_name_formatter
.
Examples
sys = System(
pm_data, configpath = "ACTIVSg25k_validation.json",
bus_name_formatter = x->string(x["name"]*"-"*string(x["index"])),
load_name_formatter = x->strip(join(x["source_id"], "_"))
)
PowerSystems.System
— MethodSystem(data; forecast_resolution, time_series_in_memory, time_series_directory, runchecks, kwargs...)
System(data::PowerSystemTableData)
Construct a System from PowerSystemTableData data.
Arguments
forecast_resolution::Union{DateTime, Nothing}=nothing
: only store forecasts that match this resolution.time_series_in_memory::Bool=false
: Store time series data in memory instead of HDF5 filetime_series_directory=nothing
: Store time series data in directory instead of tmpfsrunchecks::Bool=true
: Validate struct fields.
Throws DataFormatError if forecasts with multiple resolutions are detected.
- A forecast has a different resolution than others.
- A forecast has a different horizon than others.
PowerSystems.System
— MethodSystem(; basepower, buses, generators, loads, branches, storage, services, annex, kwargs...)
System constructor with keyword arguments.
PowerSystems.TGFixed
— Typemutable struct TGFixed <: TurbineGov
efficiency::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
end
Parameters of a fixed Turbine Governor that returns a fixed mechanical torque given by the product of P_ref*efficiency
Arguments
efficiency::Float64
: Efficiency factor that multiplies P_ref, validation range: (0, nothing)ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.TGTypeI
— Typemutable struct TGTypeI <: TurbineGov
R::Float64
Ts::Float64
Tc::Float64
T3::Float64
T4::Float64
T5::Float64
P_min::Float64
P_max::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
end
Parameters of a Turbine Governor Type I.
Arguments
R::Float64
: Droop parameter, validation range: (0, nothing)Ts::Float64
: Governor time constant, validation range: (0, nothing)Tc::Float64
: Servo time constant, validation range: (0, nothing)T3::Float64
: Transient gain time constant, validation range: (0, nothing)T4::Float64
: Power fraction time constant, validation range: (0, nothing)T5::Float64
: Reheat time constant, validation range: (0, nothing)P_min::Float64
: Min Power into the Governor, validation range: (0, nothing)P_max::Float64
: Max Power into the Governor, validation range: (0, nothing)ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.TGTypeII
— Typemutable struct TGTypeII <: TurbineGov
R::Float64
T1::Float64
T2::Float64
τ_min::Float64
τ_max::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
end
Parameters of a Turbine Governor Type II.
Arguments
R::Float64
: Droop parameter, validation range: (0, nothing)T1::Float64
: Transient gain time constant, validation range: (0, nothing)T2::Float64
: Power fraction time constant, validation range: (0, nothing)τ_min::Float64
: Min Power into the Governor, validation range: (0, nothing)τ_max::Float64
: Max Power into the Governor, validation range: (0, nothing)ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.TapTransformer
— Typemutable struct TapTransformer <: ACBranch
name::String
available::Bool
activepower_flow::Float64
reactivepower_flow::Float64
arc::Arc
r::Float64
x::Float64
primaryshunt::Float64
tap::Float64
rate::Union{Nothing, Float64}
services::Vector{Service}
ext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
internal::InfrastructureSystemsInternal
end
Arguments
name::String
available::Bool
activepower_flow::Float64
reactivepower_flow::Float64
arc::Arc
r::Float64
: System per-unit value, validation range: (-2, 2), action if invalid: errorx::Float64
: System per-unit value, validation range: (-2, 4), action if invalid: errorprimaryshunt::Float64
: System per-unit value, validation range: (0, 2), action if invalid: errortap::Float64
, validation range: (0, 2), action if invalid: errorrate::Union{Nothing, Float64}
, validation range: (0, nothing), action if invalid: errorservices::Vector{Service}
: Services that this device contributes toext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
: internal forecast storageinternal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.ThermalStandard
— Typemutable struct ThermalStandard <: ThermalGen
name::String
available::Bool
status::Bool
bus::Bus
activepower::Float64
reactivepower::Float64
rating::Float64
primemover::PrimeMovers.PrimeMover
fuel::ThermalFuels.ThermalFuel
activepowerlimits::Min_Max
reactivepowerlimits::Union{Nothing, Min_Max}
ramplimits::Union{Nothing, NamedTuple{(:up, :down), Tuple{Float64, Float64}}}
timelimits::Union{Nothing, NamedTuple{(:up, :down), Tuple{Float64, Float64}}}
op_cost::ThreePartCost
services::Vector{Service}
participation_factor::Float64
time_at_status::Float64
dynamic_injector::Union{Nothing, DynamicInjection}
ext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
internal::InfrastructureSystemsInternal
end
Data Structure for thermal generation technologies.
Arguments
name::String
available::Bool
status::Bool
bus::Bus
activepower::Float64
, validation range: activepowerlimits, action if invalid: warnreactivepower::Float64
, validation range: reactivepowerlimits, action if invalid: warnrating::Float64
: Thermal limited MVA Power Output of the unit. <= Capacity, validation range: (0, nothing), action if invalid: errorprimemover::PrimeMovers.PrimeMover
: PrimeMover Technology according to EIA 923fuel::ThermalFuels.ThermalFuel
: PrimeMover Fuel according to EIA 923activepowerlimits::Min_Max
reactivepowerlimits::Union{Nothing, Min_Max}
ramplimits::Union{Nothing, NamedTuple{(:up, :down), Tuple{Float64, Float64}}}
, validation range: (0, nothing), action if invalid: errortimelimits::Union{Nothing, NamedTuple{(:up, :down), Tuple{Float64, Float64}}}
: Minimum up and Minimum down time limits in hours, validation range: (0, nothing), action if invalid: errorop_cost::ThreePartCost
services::Vector{Service}
: Services that this device contributes toparticipation_factor::Float64
: AGC Participation Factor, validation range: (0, 1.0), action if invalid: errortime_at_status::Float64
dynamic_injector::Union{Nothing, DynamicInjection}
: corresponding dynamic injection deviceext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
: internal forecast storageinternal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.ThreePartCost
— Typemutable struct ThreePartCost <: OperationalCost
variable::VariableCost
fixed::Float64
startup::Float64
shutdn::Float64
forecasts::InfrastructureSystems.Forecasts
internal::InfrastructureSystemsInternal
end
Data Structure Operational Cost Data in Three parts fixed, variable cost and start - stop costs.
Arguments
variable::VariableCost
: variable costfixed::Float64
: fixed coststartup::Float64
: startup cost, validation range: (0, nothing), action if invalid: warnshutdn::Float64
: shutdown cost, validation range: (0, nothing), action if invalid: warnforecasts::InfrastructureSystems.Forecasts
: internal forecast storageinternal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.ThreePartCost
— MethodAccepts rating as a Float64 and then creates a ThreePartCost.
PowerSystems.Transfer
— Typemutable struct Transfer <: Service
name::String
available::Bool
requirement::Float64
ext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
internal::InfrastructureSystemsInternal
end
Arguments
name::String
available::Bool
requirement::Float64
ext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
: internal forecast storageinternal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.Transformer2W
— Typemutable struct Transformer2W <: ACBranch
name::String
available::Bool
activepower_flow::Float64
reactivepower_flow::Float64
arc::Arc
r::Float64
x::Float64
primaryshunt::Float64
rate::Union{Nothing, Float64}
services::Vector{Service}
ext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
internal::InfrastructureSystemsInternal
end
The 2-W transformer model uses an equivalent circuit assuming the impedance is on the High Voltage Side of the transformer. The model allocates the iron losses and magnetizing susceptance to the primary side.
Arguments
name::String
available::Bool
activepower_flow::Float64
reactivepower_flow::Float64
arc::Arc
r::Float64
: System per-unit value, validation range: (-2, 4), action if invalid: errorx::Float64
: System per-unit value, validation range: (-2, 4), action if invalid: errorprimaryshunt::Float64
: System per-unit value, validation range: (0, 2), action if invalid: errorrate::Union{Nothing, Float64}
, validation range: (0, nothing), action if invalid: errorservices::Vector{Service}
: Services that this device contributes toext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
: internal forecast storageinternal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.TwoPartCost
— Typemutable struct TwoPartCost <: OperationalCost
variable::VariableCost
fixed::Float64
forecasts::InfrastructureSystems.Forecasts
internal::InfrastructureSystemsInternal
end
Data Structure Operational Cost Data in two parts: fixed and variable cost.
Arguments
variable::VariableCost
: variable costfixed::Float64
: fixed cost, validation range: (0, nothing), action if invalid: warnforecasts::InfrastructureSystems.Forecasts
: internal forecast storageinternal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.TwoPartCost
— MethodTwoPartCost(variable_cost, args)
Accepts rating as a Float64 and then creates a TwoPartCost.
PowerSystems.VSCDCLine
— Typemutable struct VSCDCLine <: DCBranch
name::String
available::Bool
activepower_flow::Float64
arc::Arc
rectifier_taplimits::Min_Max
rectifier_xrc::Float64
rectifier_firing_angle::Min_Max
inverter_taplimits::Min_Max
inverter_xrc::Float64
inverter_firing_angle::Min_Max
services::Vector{Service}
ext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
internal::InfrastructureSystemsInternal
end
As implemented in Milano's Book, Page 397.
Arguments
name::String
available::Bool
activepower_flow::Float64
arc::Arc
rectifier_taplimits::Min_Max
rectifier_xrc::Float64
rectifier_firing_angle::Min_Max
inverter_taplimits::Min_Max
inverter_xrc::Float64
inverter_firing_angle::Min_Max
services::Vector{Service}
: Services that this device contributes toext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
: internal forecast storageinternal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.VariableReserve
— Typemutable struct VariableReserve{T <: ReserveDirection} <: Reserve{T}
name::String
available::Bool
timeframe::Float64
requirement::Float64
ext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
internal::InfrastructureSystemsInternal
end
Data Structure for the procurement products for system simulations.
Arguments
name::String
available::Bool
timeframe::Float64
: the relative saturation timeframe, validation range: (0, nothing), action if invalid: errorrequirement::Float64
: the required quantity of the product should be scaled by a Forecastext::Dict{String, Any}
forecasts::InfrastructureSystems.Forecasts
: internal forecast storageinternal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.VirtualInertia
— Typemutable struct VirtualInertia <: ActivePowerControl
Ta::Float64
kd::Float64
kω::Float64
ωb::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
end
Parameters of a Virtual Inertia with SRF using VSM for active power controller
Arguments
Ta::Float64
: VSM inertia constant, validation range: (0, nothing)kd::Float64
: VSM damping constant, validation range: (0, nothing)kω::Float64
: frequency droop gain, validation range: (0, nothing)ωb::Float64
: rated angular frequency, validation range: (0, nothing)ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
PowerSystems.add_component!
— Methodadd_component!(sys, component; kwargs...)
Add a component to the system.
Throws ArgumentError if the component's name is already stored for its concrete type. Throws ArgumentError if any Component-specific rule is violated. Throws InvalidRange if any of the component's field values are outside of defined valid range.
Examples
sys = System(100.0)
# Add a single component.
add_component!(sys, bus)
# Add many at once.
buses = [bus1, bus2, bus3]
generators = [gen1, gen2, gen3]
foreach(x -> add_component!(sys, x), Iterators.flatten((buses, generators)))
PowerSystems.add_forecast!
— Functionadd_forecast!(sys, ta, component, label)
add_forecast!(sys, ta, component, label, scaling_factor)
add_forecast!(
sys::System,
ta::TimeSeries.TimeArray,
component,
label,
scaling_factor::Union{String, Float64} = 1.0,
)
Add a forecast to a system from a TimeSeries.TimeArray.
See InfrastructureSystems.TimeseriesFileMetadata for description of scaling_factor.
PowerSystems.add_forecast!
— Functionadd_forecast!(sys, filename, component, label)
add_forecast!(sys, filename, component, label, scaling_factor)
add_forecast!(
sys::System,
filename::AbstractString,
component::Component,
label::AbstractString,
scaling_factor::Union{String, Float64} = 1.0,
)
Add a forecast to a system from a CSV file.
See InfrastructureSystems.TimeseriesFileMetadata for description of scaling_factor.
PowerSystems.add_forecast!
— Functionadd_forecast!(sys, df, component, label)
add_forecast!(sys, df, component, label, scaling_factor)
add_forecast!(
sys::System,
df::DataFrames.DataFrame,
component,
label,
scaling_factor::Union{String, Float64} = 1.0,
)
Add a forecast to a system from a DataFrames.DataFrame.
See InfrastructureSystems.TimeseriesFileMetadata for description of scaling_factor.
PowerSystems.add_forecast!
— Methodadd_forecast!(sys, component, forecast)
add_forecast!(sys::System, component::Component, forecast::Forecast)
Add forecast to the system.
Throws ArgumentError if the component is not stored in the system.
PowerSystems.add_forecasts!
— Methodadd_forecasts!(sys, metadata_file; resolution)
add_forecasts!(sys::System, metadata_file::AbstractString; resolution = nothing)
Adds forecasts from a metadata file or metadata descriptors.
Arguments
sys::System
: systemmetadata_file::AbstractString
: metadata file for timeseries that includes an array of IS.TimeseriesFileMetadata instances or a vector.resolution::DateTime.Period=nothing
: skip forecast that don't match this resolution.
PowerSystems.add_forecasts!
— Methodadd_forecasts!(sys, timeseries_metadata; resolution)
add_forecasts!(
sys::System,
timeseries_metadata::Vector{IS.TimeseriesFileMetadata};
resolution = nothing,
)
Adds forecasts from a metadata file or metadata descriptors.
Arguments
sys::System
: systemtimeseries_metadata::Vector{IS.TimeseriesFileMetadata}
: metadata for timeseriesresolution::DateTime.Period=nothing
: skip forecast that don't match this resolution.
PowerSystems.add_service!
— Methodadd_service!(device, service)
add_service!(device::Device, service::Service)
Add a service to a device.
Throws ArgumentError if the service is already attached to the device.
PowerSystems.add_service!
— Methodadd_service!(sys, service, contributing_devices; kwargs...)
add_service!(sys::System, service::Service, contributing_devices; kwargs...)
Similar to add_component!
but for services.
Arguments
sys::System
: systemservice::Service
: service to addcontributing_devices
: Must be an iterable of type Device
PowerSystems.are_forecasts_contiguous
— Methodare_forecasts_contiguous(component)
PowerSystems.are_forecasts_contiguous
— Methodare_forecasts_contiguous(sys)
are_forecasts_contiguous(sys::System)
Return true if forecasts are stored contiguously.
Throws ArgumentError if there are no forecasts stored.
PowerSystems.check_forecast_consistency
— Methodcheck_forecast_consistency(sys)
check_forecast_consistency(sys::System)
Throws DataFormatError if forecasts have inconsistent parameters.
PowerSystems.clear_components!
— Methodclear_components!(sys)
clear_components!(sys::System)
Remove all components from the system.
PowerSystems.clear_ext
— Methodclear_ext(sys)
Clear any value stored in ext.
PowerSystems.clear_forecasts!
— Methodclear_forecasts!(sys)
clear_forecasts!(sys::System)
Remove all forecasts from the system.
PowerSystems.clear_services!
— Methodclear_services!(device)
clear_services!(device::Device)
Remove all services attached to the device.
PowerSystems.convert_component!
— Methodconvert_component!(linetype, line, sys; kwargs...)
Converts a MonitoredLine component to a Line component and replaces the original in the system
PowerSystems.convert_component!
— Methodconvert_component!(linetype, line, sys; kwargs...)
Converts a Line component to a MonitoredLine component and replaces the original in the system
PowerSystems.generate_initial_times
— Methodgenerate_initial_times(component, interval, horizon; initial_time)
generate_initial_times(
component::IS.InfrastructureSystemsType,
interval::Dates.Period,
horizon::Int;
initial_time::Union{Nothing, Dates.DateTime} = nothing,
)
Generate initial times for a component.
PowerSystems.generate_initial_times
— Methodgenerate_initial_times(sys, interval, horizon; initial_time)
generate_initial_times(
sys::System,
interval::Dates.Period,
horizon::Int;
initial_time::Union{Nothing, Dates.DateTime} = nothing,
)
Generate all possible initial times for the stored forecasts. This should return the same result regardless of whether the forecasts have been stored as one contiguous array or chunks of contiguous arrays, such as one 365-day forecast vs 365 one-day forecasts.
Throws ArgumentError if there are no forecasts stored, interval is not a multiple of the system's forecast resolution, or if the stored forecasts have overlapping timestamps.
Arguments
sys::System
: System.interval::Dates.Period
: Amount of time in between each initial time.horizon::Int
: Length of each forecast array.initial_time::Union{Nothing, Dates.DateTime}=nothing
: Start with this time. If nothing, use the first initial time.
PowerSystems.get_Ae
— Methodget_Ae(value)
Get AVRTypeII Ae.
PowerSystems.get_Ae
— Methodget_Ae(value)
Get AVRTypeI Ae.
PowerSystems.get_Be
— Methodget_Be(value)
Get AVRTypeII Be.
PowerSystems.get_Be
— Methodget_Be(value)
Get AVRTypeI Be.
PowerSystems.get_D
— Methodget_D(value)
Get FiveMassShaft D.
PowerSystems.get_D
— Methodget_D(value)
Get SingleMass D.
PowerSystems.get_D_12
— Methodget_D_12(value)
Get FiveMassShaft D_12.
PowerSystems.get_D_23
— Methodget_D_23(value)
Get FiveMassShaft D_23.
PowerSystems.get_D_34
— Methodget_D_34(value)
Get FiveMassShaft D_34.
PowerSystems.get_D_45
— Methodget_D_45(value)
Get FiveMassShaft D_45.
PowerSystems.get_D_ex
— Methodget_D_ex(value)
Get FiveMassShaft D_ex.
PowerSystems.get_D_hp
— Methodget_D_hp(value)
Get FiveMassShaft D_hp.
PowerSystems.get_D_ip
— Methodget_D_ip(value)
Get FiveMassShaft D_ip.
PowerSystems.get_D_lp
— Methodget_D_lp(value)
Get FiveMassShaft D_lp.
PowerSystems.get_Emf
— Methodget_Emf(value)
Get AVRFixed Emf.
PowerSystems.get_H
— Methodget_H(value)
Get FiveMassShaft H.
PowerSystems.get_H
— Methodget_H(value)
Get SingleMass H.
PowerSystems.get_H_ex
— Methodget_H_ex(value)
Get FiveMassShaft H_ex.
PowerSystems.get_H_hp
— Methodget_H_hp(value)
Get FiveMassShaft H_hp.
PowerSystems.get_H_ip
— Methodget_H_ip(value)
Get FiveMassShaft H_ip.
PowerSystems.get_H_lp
— Methodget_H_lp(value)
Get FiveMassShaft H_lp.
PowerSystems.get_K0
— Methodget_K0(value)
Get AVRTypeII K0.
PowerSystems.get_K_d
— Methodget_K_d(value)
Get AGC K_d.
PowerSystems.get_K_ex
— Methodget_K_ex(value)
Get FiveMassShaft K_ex.
PowerSystems.get_K_hp
— Methodget_K_hp(value)
Get FiveMassShaft K_hp.
PowerSystems.get_K_i
— Methodget_K_i(value)
Get AGC K_i.
PowerSystems.get_K_ip
— Methodget_K_ip(value)
Get FiveMassShaft K_ip.
PowerSystems.get_K_lp
— Methodget_K_lp(value)
Get FiveMassShaft K_lp.
PowerSystems.get_K_p
— Methodget_K_p(value)
Get AGC K_p.
PowerSystems.get_K_p
— Methodget_K_p(value)
Get PSSSimple K_p.
PowerSystems.get_K_ω
— Methodget_K_ω(value)
Get PSSSimple K_ω.
PowerSystems.get_Ka
— Methodget_Ka(value)
Get AVRTypeI Ka.
PowerSystems.get_Ke
— Methodget_Ke(value)
Get AVRTypeI Ke.
PowerSystems.get_Kf
— Methodget_Kf(value)
Get AVRTypeI Kf.
PowerSystems.get_Kv
— Methodget_Kv(value)
Get AVRSimple Kv.
PowerSystems.get_L_1d
— Methodget_L_1d(value)
Get FullMachine L_1d.
PowerSystems.get_L_1d
— Methodget_L_1d(value)
Get SimpleFullMachine L_1d.
PowerSystems.get_L_1q
— Methodget_L_1q(value)
Get FullMachine L_1q.
PowerSystems.get_L_1q
— Methodget_L_1q(value)
Get SimpleFullMachine L_1q.
PowerSystems.get_L_ad
— Methodget_L_ad(value)
Get FullMachine L_ad.
PowerSystems.get_L_ad
— Methodget_L_ad(value)
Get SimpleFullMachine L_ad.
PowerSystems.get_L_aq
— Methodget_L_aq(value)
Get FullMachine L_aq.
PowerSystems.get_L_aq
— Methodget_L_aq(value)
Get SimpleFullMachine L_aq.
PowerSystems.get_L_d
— Methodget_L_d(value)
Get FullMachine L_d.
PowerSystems.get_L_d
— Methodget_L_d(value)
Get SimpleFullMachine L_d.
PowerSystems.get_L_f1d
— Methodget_L_f1d(value)
Get FullMachine L_f1d.
PowerSystems.get_L_f1d
— Methodget_L_f1d(value)
Get SimpleFullMachine L_f1d.
PowerSystems.get_L_ff
— Methodget_L_ff(value)
Get FullMachine L_ff.
PowerSystems.get_L_ff
— Methodget_L_ff(value)
Get SimpleFullMachine L_ff.
PowerSystems.get_L_q
— Methodget_L_q(value)
Get FullMachine L_q.
PowerSystems.get_L_q
— Methodget_L_q(value)
Get SimpleFullMachine L_q.
PowerSystems.get_MVABase
— Methodget_MVABase(value)
Get AndersonFouadMachine MVABase.
PowerSystems.get_MVABase
— Methodget_MVABase(value)
Get BaseMachine MVABase.
PowerSystems.get_MVABase
— Methodget_MVABase(value)
Get FullMachine MVABase.
PowerSystems.get_MVABase
— Methodget_MVABase(value)
Get MarconatoMachine MVABase.
PowerSystems.get_MVABase
— Methodget_MVABase(value)
Get OneDOneQMachine MVABase.
PowerSystems.get_MVABase
— Methodget_MVABase(value)
Get SimpleAFMachine MVABase.
PowerSystems.get_MVABase
— Methodget_MVABase(value)
Get SimpleFullMachine MVABase.
PowerSystems.get_MVABase
— Methodget_MVABase(value)
Get SimpleMarconatoMachine MVABase.
PowerSystems.get_P_max
— Methodget_P_max(value)
Get TGTypeI P_max.
PowerSystems.get_P_min
— Methodget_P_min(value)
Get TGTypeI P_min.
PowerSystems.get_R
— Methodget_R(value)
Get AndersonFouadMachine R.
PowerSystems.get_R
— Methodget_R(value)
Get BaseMachine R.
PowerSystems.get_R
— Methodget_R(value)
Get FullMachine R.
PowerSystems.get_R
— Methodget_R(value)
Get MarconatoMachine R.
PowerSystems.get_R
— Methodget_R(value)
Get OneDOneQMachine R.
PowerSystems.get_R
— Methodget_R(value)
Get SimpleAFMachine R.
PowerSystems.get_R
— Methodget_R(value)
Get SimpleFullMachine R.
PowerSystems.get_R
— Methodget_R(value)
Get SimpleMarconatoMachine R.
PowerSystems.get_R
— Methodget_R(value)
Get TGTypeII R.
PowerSystems.get_R
— Methodget_R(value)
Get TGTypeI R.
PowerSystems.get_R_1d
— Methodget_R_1d(value)
Get FullMachine R_1d.
PowerSystems.get_R_1d
— Methodget_R_1d(value)
Get SimpleFullMachine R_1d.
PowerSystems.get_R_1q
— Methodget_R_1q(value)
Get FullMachine R_1q.
PowerSystems.get_R_1q
— Methodget_R_1q(value)
Get SimpleFullMachine R_1q.
PowerSystems.get_R_f
— Methodget_R_f(value)
Get FullMachine R_f.
PowerSystems.get_R_f
— Methodget_R_f(value)
Get SimpleFullMachine R_f.
PowerSystems.get_T1
— Methodget_T1(value)
Get AVRTypeII T1.
PowerSystems.get_T1
— Methodget_T1(value)
Get TGTypeII T1.
PowerSystems.get_T2
— Methodget_T2(value)
Get AVRTypeII T2.
PowerSystems.get_T2
— Methodget_T2(value)
Get TGTypeII T2.
PowerSystems.get_T3
— Methodget_T3(value)
Get AVRTypeII T3.
PowerSystems.get_T3
— Methodget_T3(value)
Get TGTypeI T3.
PowerSystems.get_T4
— Methodget_T4(value)
Get AVRTypeII T4.
PowerSystems.get_T4
— Methodget_T4(value)
Get TGTypeI T4.
PowerSystems.get_T5
— Methodget_T5(value)
Get TGTypeI T5.
PowerSystems.get_T_AA
— Methodget_T_AA(value)
Get MarconatoMachine T_AA.
PowerSystems.get_T_AA
— Methodget_T_AA(value)
Get SimpleMarconatoMachine T_AA.
PowerSystems.get_Ta
— Methodget_Ta(value)
Get AVRTypeI Ta.
PowerSystems.get_Ta
— Methodget_Ta(value)
Get VirtualInertia Ta.
PowerSystems.get_Tc
— Methodget_Tc(value)
Get TGTypeI Tc.
PowerSystems.get_Td0_p
— Methodget_Td0_p(value)
Get AndersonFouadMachine Td0_p.
PowerSystems.get_Td0_p
— Methodget_Td0_p(value)
Get MarconatoMachine Td0_p.
PowerSystems.get_Td0_p
— Methodget_Td0_p(value)
Get OneDOneQMachine Td0_p.
PowerSystems.get_Td0_p
— Methodget_Td0_p(value)
Get SimpleAFMachine Td0_p.
PowerSystems.get_Td0_p
— Methodget_Td0_p(value)
Get SimpleMarconatoMachine Td0_p.
PowerSystems.get_Td0_pp
— Methodget_Td0_pp(value)
Get AndersonFouadMachine Td0_pp.
PowerSystems.get_Td0_pp
— Methodget_Td0_pp(value)
Get MarconatoMachine Td0_pp.
PowerSystems.get_Td0_pp
— Methodget_Td0_pp(value)
Get SimpleAFMachine Td0_pp.
PowerSystems.get_Td0_pp
— Methodget_Td0_pp(value)
Get SimpleMarconatoMachine Td0_pp.
PowerSystems.get_Te
— Methodget_Te(value)
Get AVRTypeII Te.
PowerSystems.get_Te
— Methodget_Te(value)
Get AVRTypeI Te.
PowerSystems.get_Tf
— Methodget_Tf(value)
Get AVRTypeI Tf.
PowerSystems.get_Tq0_p
— Methodget_Tq0_p(value)
Get AndersonFouadMachine Tq0_p.
PowerSystems.get_Tq0_p
— Methodget_Tq0_p(value)
Get MarconatoMachine Tq0_p.
PowerSystems.get_Tq0_p
— Methodget_Tq0_p(value)
Get OneDOneQMachine Tq0_p.
PowerSystems.get_Tq0_p
— Methodget_Tq0_p(value)
Get SimpleAFMachine Tq0_p.
PowerSystems.get_Tq0_p
— Methodget_Tq0_p(value)
Get SimpleMarconatoMachine Tq0_p.
PowerSystems.get_Tq0_pp
— Methodget_Tq0_pp(value)
Get AndersonFouadMachine Tq0_pp.
PowerSystems.get_Tq0_pp
— Methodget_Tq0_pp(value)
Get MarconatoMachine Tq0_pp.
PowerSystems.get_Tq0_pp
— Methodget_Tq0_pp(value)
Get SimpleAFMachine Tq0_pp.
PowerSystems.get_Tq0_pp
— Methodget_Tq0_pp(value)
Get SimpleMarconatoMachine Tq0_pp.
PowerSystems.get_Tr
— Methodget_Tr(value)
Get AVRTypeII Tr.
PowerSystems.get_Tr
— Methodget_Tr(value)
Get AVRTypeI Tr.
PowerSystems.get_Ts
— Methodget_Ts(value)
Get TGTypeI Ts.
PowerSystems.get_V_pss
— Methodget_V_pss(value)
Get PSSFixed V_pss.
PowerSystems.get_Vr_max
— Methodget_Vr_max(value)
Get AVRTypeII Vr_max.
PowerSystems.get_Vr_max
— Methodget_Vr_max(value)
Get AVRTypeI Vr_max.
PowerSystems.get_Vr_min
— Methodget_Vr_min(value)
Get AVRTypeII Vr_min.
PowerSystems.get_Vr_min
— Methodget_Vr_min(value)
Get AVRTypeI Vr_min.
PowerSystems.get_X_th
— Methodget_X_th(value)
Get Source X_th.
PowerSystems.get_Xd
— Methodget_Xd(value)
Get AndersonFouadMachine Xd.
PowerSystems.get_Xd
— Methodget_Xd(value)
Get MarconatoMachine Xd.
PowerSystems.get_Xd
— Methodget_Xd(value)
Get OneDOneQMachine Xd.
PowerSystems.get_Xd
— Methodget_Xd(value)
Get SimpleAFMachine Xd.
PowerSystems.get_Xd
— Methodget_Xd(value)
Get SimpleMarconatoMachine Xd.
PowerSystems.get_Xd_p
— Methodget_Xd_p(value)
Get AndersonFouadMachine Xd_p.
PowerSystems.get_Xd_p
— Methodget_Xd_p(value)
Get BaseMachine Xd_p.
PowerSystems.get_Xd_p
— Methodget_Xd_p(value)
Get MarconatoMachine Xd_p.
PowerSystems.get_Xd_p
— Methodget_Xd_p(value)
Get OneDOneQMachine Xd_p.
PowerSystems.get_Xd_p
— Methodget_Xd_p(value)
Get SimpleAFMachine Xd_p.
PowerSystems.get_Xd_p
— Methodget_Xd_p(value)
Get SimpleMarconatoMachine Xd_p.
PowerSystems.get_Xd_pp
— Methodget_Xd_pp(value)
Get AndersonFouadMachine Xd_pp.
PowerSystems.get_Xd_pp
— Methodget_Xd_pp(value)
Get MarconatoMachine Xd_pp.
PowerSystems.get_Xd_pp
— Methodget_Xd_pp(value)
Get SimpleAFMachine Xd_pp.
PowerSystems.get_Xd_pp
— Methodget_Xd_pp(value)
Get SimpleMarconatoMachine Xd_pp.
PowerSystems.get_Xq
— Methodget_Xq(value)
Get AndersonFouadMachine Xq.
PowerSystems.get_Xq
— Methodget_Xq(value)
Get MarconatoMachine Xq.
PowerSystems.get_Xq
— Methodget_Xq(value)
Get OneDOneQMachine Xq.
PowerSystems.get_Xq
— Methodget_Xq(value)
Get SimpleAFMachine Xq.
PowerSystems.get_Xq
— Methodget_Xq(value)
Get SimpleMarconatoMachine Xq.
PowerSystems.get_Xq_p
— Methodget_Xq_p(value)
Get AndersonFouadMachine Xq_p.
PowerSystems.get_Xq_p
— Methodget_Xq_p(value)
Get MarconatoMachine Xq_p.
PowerSystems.get_Xq_p
— Methodget_Xq_p(value)
Get OneDOneQMachine Xq_p.
PowerSystems.get_Xq_p
— Methodget_Xq_p(value)
Get SimpleAFMachine Xq_p.
PowerSystems.get_Xq_p
— Methodget_Xq_p(value)
Get SimpleMarconatoMachine Xq_p.
PowerSystems.get_Xq_pp
— Methodget_Xq_pp(value)
Get AndersonFouadMachine Xq_pp.
PowerSystems.get_Xq_pp
— Methodget_Xq_pp(value)
Get MarconatoMachine Xq_pp.
PowerSystems.get_Xq_pp
— Methodget_Xq_pp(value)
Get SimpleAFMachine Xq_pp.
PowerSystems.get_Xq_pp
— Methodget_Xq_pp(value)
Get SimpleMarconatoMachine Xq_pp.
PowerSystems.get_Y
— Methodget_Y(value)
Get FixedAdmittance Y.
PowerSystems.get_activepower
— Methodget_activepower(value)
Get GenericBattery activepower.
PowerSystems.get_activepower
— Methodget_activepower(value)
Get HydroDispatch activepower.
PowerSystems.get_activepower
— Methodget_activepower(value)
Get HydroEnergyReservoir activepower.
PowerSystems.get_activepower
— Methodget_activepower(value)
Get InterruptibleLoad activepower.
PowerSystems.get_activepower
— Methodget_activepower(value)
Get PowerLoad activepower.
PowerSystems.get_activepower
— Methodget_activepower(value)
Get RenewableDispatch activepower.
PowerSystems.get_activepower
— Methodget_activepower(value)
Get RenewableFix activepower.
PowerSystems.get_activepower
— Methodget_activepower(value)
Get Source activepower.
PowerSystems.get_activepower
— Methodget_activepower(value)
Get ThermalStandard activepower.
PowerSystems.get_activepower_flow
— Methodget_activepower_flow(value)
Get HVDCLine activepower_flow.
PowerSystems.get_activepower_flow
— Methodget_activepower_flow(value)
Get Line activepower_flow.
PowerSystems.get_activepower_flow
— Methodget_activepower_flow(value)
Get MonitoredLine activepower_flow.
PowerSystems.get_activepower_flow
— Methodget_activepower_flow(value)
Get PhaseShiftingTransformer activepower_flow.
PowerSystems.get_activepower_flow
— Methodget_activepower_flow(value)
Get TapTransformer activepower_flow.
PowerSystems.get_activepower_flow
— Methodget_activepower_flow(value)
Get Transformer2W activepower_flow.
PowerSystems.get_activepower_flow
— Methodget_activepower_flow(value)
Get VSCDCLine activepower_flow.
PowerSystems.get_activepowerlimits
— Methodget_activepowerlimits(value)
Get HydroDispatch activepowerlimits.
PowerSystems.get_activepowerlimits
— Methodget_activepowerlimits(value)
Get HydroEnergyReservoir activepowerlimits.
PowerSystems.get_activepowerlimits
— Methodget_activepowerlimits(value)
Get ThermalStandard activepowerlimits.
PowerSystems.get_activepowerlimits_from
— Methodget_activepowerlimits_from(value)
Get HVDCLine activepowerlimits_from.
PowerSystems.get_activepowerlimits_to
— Methodget_activepowerlimits_to(value)
Get HVDCLine activepowerlimits_to.
PowerSystems.get_aggregation_topology_accessor
— Methodget_aggregation_topology_accessor(?)
get_aggregation_topology_accessor(::Type{T}) where T <: AggregationTopology
Return the method to be called on a Bus to get its AggregationTopology value for this type.
PowerSystems.get_aggregation_topology_mapping
— Methodget_aggregation_topology_mapping(?, sys)
get_aggregation_topology_mapping(::Type{T}, sys::System) where {T<:AggregationTopology}
Return a mapping of AggregationTopology name to vector of buses within it.
PowerSystems.get_angle
— Methodget_angle(value)
Get Bus angle.
PowerSystems.get_anglelimits
— Methodget_anglelimits(value)
Get Line anglelimits.
PowerSystems.get_anglelimits
— Methodget_anglelimits(value)
Get MonitoredLine anglelimits.
PowerSystems.get_arc
— Methodget_arc(value)
Get HVDCLine arc.
PowerSystems.get_arc
— Methodget_arc(value)
Get Line arc.
PowerSystems.get_arc
— Methodget_arc(value)
Get MonitoredLine arc.
PowerSystems.get_arc
— Methodget_arc(value)
Get PhaseShiftingTransformer arc.
PowerSystems.get_arc
— Methodget_arc(value)
Get TapTransformer arc.
PowerSystems.get_arc
— Methodget_arc(value)
Get Transformer2W arc.
PowerSystems.get_arc
— Methodget_arc(value)
Get VSCDCLine arc.
PowerSystems.get_area
— Methodget_area(value)
Get AGC area.
PowerSystems.get_area
— Methodget_area(value)
Get Bus area.
PowerSystems.get_available
— Methodget_available(value)
Get AGC available.
PowerSystems.get_available
— Methodget_available(value)
Get FixedAdmittance available.
PowerSystems.get_available
— Methodget_available(value)
Get GenericBattery available.
PowerSystems.get_available
— Methodget_available(value)
Get HVDCLine available.
PowerSystems.get_available
— Methodget_available(value)
Get HydroDispatch available.
PowerSystems.get_available
— Methodget_available(value)
Get HydroEnergyReservoir available.
PowerSystems.get_available
— Methodget_available(value)
Get InterruptibleLoad available.
PowerSystems.get_available
— Methodget_available(value)
Get Line available.
PowerSystems.get_available
— Methodget_available(value)
Get MonitoredLine available.
PowerSystems.get_available
— Methodget_available(value)
Get PhaseShiftingTransformer available.
PowerSystems.get_available
— Methodget_available(value)
Get PowerLoad available.
PowerSystems.get_available
— Methodget_available(value)
Get RenewableDispatch available.
PowerSystems.get_available
— Methodget_available(value)
Get RenewableFix available.
PowerSystems.get_available
— Methodget_available(value)
Get ReserveDemandCurve available.
PowerSystems.get_available
— Methodget_available(value)
Get Source available.
PowerSystems.get_available
— Methodget_available(value)
Get StaticReserve available.
PowerSystems.get_available
— Methodget_available(value)
Get TapTransformer available.
PowerSystems.get_available
— Methodget_available(value)
Get ThermalStandard available.
PowerSystems.get_available
— Methodget_available(value)
Get Transfer available.
PowerSystems.get_available
— Methodget_available(value)
Get Transformer2W available.
PowerSystems.get_available
— Methodget_available(value)
Get VSCDCLine available.
PowerSystems.get_available
— Methodget_available(value)
Get VariableReserve available.
PowerSystems.get_b
— Methodget_b(value)
Get Line b.
PowerSystems.get_b
— Methodget_b(value)
Get MonitoredLine b.
PowerSystems.get_basepower
— Methodget_basepower(sys)
Return the system's base power.
PowerSystems.get_basevoltage
— Methodget_basevoltage(value)
Get Bus basevoltage.
PowerSystems.get_bias
— Methodget_bias(value)
Get AGC bias.
PowerSystems.get_breakpoint_upperbounds
— Methodget_breakpoint_upperbounds(vc)
get_breakpoint_upperbounds(vc::VariableCost{Vector{NTuple{2, Float64}}})
Calculates the upper bounds of a variable cost function represented as a collection of piece-wise linear segments.
PowerSystems.get_bus
— Methodget_bus(value)
Get FixedAdmittance bus.
PowerSystems.get_bus
— Methodget_bus(value)
Get GenericBattery bus.
PowerSystems.get_bus
— Methodget_bus(value)
Get HydroDispatch bus.
PowerSystems.get_bus
— Methodget_bus(value)
Get HydroEnergyReservoir bus.
PowerSystems.get_bus
— Methodget_bus(value)
Get InterruptibleLoad bus.
PowerSystems.get_bus
— Methodget_bus(value)
Get PowerLoad bus.
PowerSystems.get_bus
— Methodget_bus(value)
Get RenewableDispatch bus.
PowerSystems.get_bus
— Methodget_bus(value)
Get RenewableFix bus.
PowerSystems.get_bus
— Methodget_bus(value)
Get Source bus.
PowerSystems.get_bus
— Methodget_bus(sys, bus_number)
get_bus(sys::System, bus_number::Int)
Return bus with bus_number.
PowerSystems.get_bus
— Methodget_bus(sys, name)
get_bus(sys::System, name::String)
Return bus with name.
PowerSystems.get_bus
— Methodget_bus(value)
Get ThermalStandard bus.
PowerSystems.get_bus_numbers
— Methodget_bus_numbers(sys)
get_bus_numbers(sys::System)
Return a sorted vector of bus numbers in the system.
PowerSystems.get_buses
— Methodget_buses(sys, aggregator)
get_buses(sys::System, aggregator::AggregationTopology)
Return a vector of buses contained within the AggregationTopology.
PowerSystems.get_buses
— Methodget_buses(sys, bus_numbers)
get_buses(sys::System, bus_numbers::Set{Int})
Return all buses values with bus_numbers.
PowerSystems.get_bustype
— Methodget_bustype(value)
Get Bus bustype.
PowerSystems.get_capacity
— Methodget_capacity(value)
Get GenericBattery capacity.
PowerSystems.get_cf
— Methodget_cf(value)
Get LCLFilter cf.
PowerSystems.get_cf
— Methodget_cf(value)
Get LCFilter cf.
PowerSystems.get_component
— Methodget_component(::Type{T}, sys::System, name::AbstractString) where {T <: Component}
Get the component of type T with name. Returns nothing if no component matches. If T is an abstract type then the names of components across all subtypes of T must be unique.
See get_components_by_name
for abstract types with non-unique names across subtypes.
Throws ArgumentError if T is not a concrete type and there is more than one component with requested name
PowerSystems.get_components
— Methodget_components(::Type{T}, sys::System) where {T <: Component}
Returns an iterator of components. T can be concrete or abstract. Call collect on the result if an array is desired.
Examples
iter = PowerSystems.get_components(ThermalStandard, sys)
iter = PowerSystems.get_components(Generator, sys)
iter = PowerSystems.get_components(Generator, sys, x->(PowerSystems.get_available(x)))
generators = collect(PowerSystems.get_components(Generator, sys))
See also: iterate_components
PowerSystems.get_components_by_name
— Methodget_components_by_name(?, sys, name)
get_components_by_name(
::Type{T},
sys::System,
name::AbstractString
) where {T <: Component}
Get the components of abstract type T with name. Note that PowerSystems enforces unique names on each concrete type but not across concrete types.
See get_component
if the concrete type is known.
Throws ArgumentError if T is not an abstract type.
PowerSystems.get_components_in_aggregation_topology
— Methodget_components_in_aggregation_topology(?, sys, aggregator)
get_components_in_aggregation_topology(
::Type{T},
sys::System,
aggregator::AggregationTopology,
) where {T <: StaticInjection}
Return a vector of components with buses in the AggregationTopology.
PowerSystems.get_contributing_device_mapping
— Methodget_contributing_device_mapping(sys)
get_contributing_device_mapping(sys::System)
Return an instance of ServiceContributingDevicesMapping.
PowerSystems.get_contributing_devices
— Methodget_contributing_devices(sys, service)
get_contributing_devices(sys::System, service::Service)
Return a vector of devices contributing to the service.
PowerSystems.get_delta_t
— Methodget_delta_t(value)
Get AGC delta_t.
PowerSystems.get_dynamic_injector
— Methodget_dynamic_injector(value)
Get GenericBattery dynamic_injector.
PowerSystems.get_dynamic_injector
— Methodget_dynamic_injector(value)
Get HydroDispatch dynamic_injector.
PowerSystems.get_dynamic_injector
— Methodget_dynamic_injector(value)
Get HydroEnergyReservoir dynamic_injector.
PowerSystems.get_dynamic_injector
— Methodget_dynamic_injector(value)
Get InterruptibleLoad dynamic_injector.
PowerSystems.get_dynamic_injector
— Methodget_dynamic_injector(value)
Get PowerLoad dynamic_injector.
PowerSystems.get_dynamic_injector
— Methodget_dynamic_injector(value)
Get RenewableDispatch dynamic_injector.
PowerSystems.get_dynamic_injector
— Methodget_dynamic_injector(value)
Get RenewableFix dynamic_injector.
PowerSystems.get_dynamic_injector
— Methodget_dynamic_injector(value)
Get ThermalStandard dynamic_injector.
PowerSystems.get_efficiency
— Methodget_efficiency(value)
Get GenericBattery efficiency.
PowerSystems.get_efficiency
— Methodget_efficiency(value)
Get TGFixed efficiency.
PowerSystems.get_energy
— Methodget_energy(value)
Get GenericBattery energy.
PowerSystems.get_eq_p
— Methodget_eq_p(value)
Get BaseMachine eq_p.
PowerSystems.get_ext
— Methodget_ext(value)
Get AGC ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get AVRFixed ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get AVRSimple ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get AVRTypeII ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get AVRTypeI ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get AndersonFouadMachine ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get AverageConverter ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get BaseMachine ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get Bus ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get CurrentControl ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get FiveMassShaft ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get FixedAdmittance ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get FixedDCSource ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get FullMachine ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get GenericBattery ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get HVDCLine ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get HydroDispatch ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get HydroEnergyReservoir ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get InterruptibleLoad ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get KauraPLL ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get LCLFilter ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get Line ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get MarconatoMachine ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get MonitoredLine ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get OneDOneQMachine ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get PSSFixed ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get PhaseShiftingTransformer ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get PowerLoad ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get LCFilter ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get PSSSimple ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get ReactivePowerDroop ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get RenewableDispatch ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get RenewableFix ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get ReserveDemandCurve ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get SimpleAFMachine ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get SimpleFullMachine ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get SimpleMarconatoMachine ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get SingleMass ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get Source ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get StaticReserve ext.
PowerSystems.get_ext
— Methodget_ext(sys)
Return a user-modifiable dictionary to store extra information.
PowerSystems.get_ext
— Methodget_ext(value)
Get TGFixed ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get TGTypeII ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get TGTypeI ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get TapTransformer ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get ThermalStandard ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get Transfer ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get Transformer2W ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get VSCDCLine ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get VariableReserve ext.
PowerSystems.get_ext
— Methodget_ext(value)
Get VirtualInertia ext.
PowerSystems.get_fixed
— Methodget_fixed(value)
Get ThreePartCost fixed.
PowerSystems.get_fixed
— Methodget_fixed(value)
Get TwoPartCost fixed.
PowerSystems.get_flowlimits
— Methodget_flowlimits(value)
Get MonitoredLine flowlimits.
PowerSystems.get_forecast
— Methodget_forecast(?, component, initial_time, label)
get_forecast(
::Type{T},
component::Component,
initial_time::Dates.DateTime,
label::AbstractString,
) where {T <: Forecast}
Return a forecast for the entire time series range stored for these parameters.
PowerSystems.get_forecast
— Methodget_forecast(?, component, initial_time, label, horizon)
get_forecast(
::Type{T},
component::IS.InfrastructureSystemsType,
initial_time::Dates.DateTime,
label::AbstractString,
horizon::Int,
) where {T <: Forecast}
Return a forecast for a subset of the time series range stored for these parameters.
PowerSystems.get_forecast_initial_times
— Methodget_forecast_initial_times(sys)
get_forecast_initial_times(sys::System)
Return sorted forecast initial times.
PowerSystems.get_forecast_values
— Methodget_forecast_values(component, forecast)
get_forecast_values(component::Component, forecast::Forecast)
PowerSystems.get_forecast_values
— Methodget_forecast_values(
::Type{T},
component::Component,
initial_time::Dates.DateTime,
label::AbstractString,
) where {T <: Forecast}
Return a TimeSeries.TimeArray where the forecast data has been multiplied by the forecasted component field.
PowerSystems.get_forecast_values
— Methodget_forecast_values(
::Type{T},
component::IS.InfrastructureSystemsType,
initial_time::Dates.DateTime,
label::AbstractString,
horizon::Int,
) where {T <: Forecast}
PowerSystems.get_forecasts_horizon
— Methodget_forecasts_horizon(sys)
get_forecasts_horizon(sys::System)
Return the horizon for all forecasts.
PowerSystems.get_forecasts_initial_time
— Methodget_forecasts_initial_time(sys)
get_forecasts_initial_time(sys::System)
Return the earliest initial_time for a forecast.
PowerSystems.get_forecasts_interval
— Methodget_forecasts_interval(sys)
get_forecasts_interval(sys::System)
Return the interval for all forecasts.
PowerSystems.get_forecasts_resolution
— Methodget_forecasts_resolution(sys)
get_forecasts_resolution(sys::System)
Return the resolution for all forecasts.
PowerSystems.get_frequency
— Methodget_frequency(sys)
Return the system's frequency.
PowerSystems.get_from
— Methodget_from(value)
Get Arc from.
PowerSystems.get_fuel
— Methodget_fuel(value)
Get ThermalStandard fuel.
PowerSystems.get_inflow
— Methodget_inflow(value)
Get HydroEnergyReservoir inflow.
PowerSystems.get_initial_storage
— Methodget_initial_storage(value)
Get HydroEnergyReservoir initial_storage.
PowerSystems.get_inputactivepowerlimits
— Methodget_inputactivepowerlimits(value)
Get GenericBattery inputactivepowerlimits.
PowerSystems.get_internal
— Methodget_internal(value)
Get AGC internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get AVRFixed internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get AVRSimple internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get AVRTypeII internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get AVRTypeI internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get AndersonFouadMachine internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get Arc internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get Area internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get BaseMachine internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get Bus internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get FiveMassShaft internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get FixedAdmittance internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get FixedDCSource internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get FullMachine internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get GenericBattery internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get HVDCLine internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get HydroDispatch internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get HydroEnergyReservoir internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get InterruptibleLoad internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get Line internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get LoadZone internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get MarconatoMachine internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get MonitoredLine internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get OneDOneQMachine internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get PSSFixed internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get PhaseShiftingTransformer internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get PowerLoad internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get PSSSimple internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get RenewableDispatch internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get RenewableFix internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get ReserveDemandCurve internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get SimpleAFMachine internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get SimpleFullMachine internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get SimpleMarconatoMachine internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get SingleMass internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get Source internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get StaticReserve internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get TGFixed internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get TGTypeII internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get TGTypeI internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get TapTransformer internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get ThermalStandard internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get ThreePartCost internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get Transfer internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get Transformer2W internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get TwoPartCost internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get VSCDCLine internal.
PowerSystems.get_internal
— Methodget_internal(value)
Get VariableReserve internal.
PowerSystems.get_inv_d_fluxlink
— Methodget_inv_d_fluxlink(value)
Get FullMachine invdfluxlink.
PowerSystems.get_inv_d_fluxlink
— Methodget_inv_d_fluxlink(value)
Get SimpleFullMachine invdfluxlink.
PowerSystems.get_inv_q_fluxlink
— Methodget_inv_q_fluxlink(value)
Get FullMachine invqfluxlink.
PowerSystems.get_inv_q_fluxlink
— Methodget_inv_q_fluxlink(value)
Get SimpleFullMachine invqfluxlink.
PowerSystems.get_inverter_firing_angle
— Methodget_inverter_firing_angle(value)
Get VSCDCLine inverterfiringangle.
PowerSystems.get_inverter_taplimits
— Methodget_inverter_taplimits(value)
Get VSCDCLine inverter_taplimits.
PowerSystems.get_inverter_xrc
— Methodget_inverter_xrc(value)
Get VSCDCLine inverter_xrc.
PowerSystems.get_kad
— Methodget_kad(value)
Get CurrentControl kad.
PowerSystems.get_kd
— Methodget_kd(value)
Get VirtualInertia kd.
PowerSystems.get_kffi
— Methodget_kffi(value)
Get CurrentControl kffi.
PowerSystems.get_kffv
— Methodget_kffv(value)
Get CurrentControl kffv.
PowerSystems.get_ki_pll
— Methodget_ki_pll(value)
Get KauraPLL ki_pll.
PowerSystems.get_kic
— Methodget_kic(value)
Get CurrentControl kic.
PowerSystems.get_kiv
— Methodget_kiv(value)
Get CurrentControl kiv.
PowerSystems.get_kp_pll
— Methodget_kp_pll(value)
Get KauraPLL kp_pll.
PowerSystems.get_kpc
— Methodget_kpc(value)
Get CurrentControl kpc.
PowerSystems.get_kpv
— Methodget_kpv(value)
Get CurrentControl kpv.
PowerSystems.get_kq
— Methodget_kq(value)
Get ReactivePowerDroop kq.
PowerSystems.get_kω
— Methodget_kω(value)
Get VirtualInertia kω.
PowerSystems.get_lf
— Methodget_lf(value)
Get LCLFilter lf.
PowerSystems.get_lf
— Methodget_lf(value)
Get LCFilter lf.
PowerSystems.get_lg
— Methodget_lg(value)
Get LCLFilter lg.
PowerSystems.get_load_zone
— Methodget_load_zone(value)
Get Bus load_zone.
PowerSystems.get_loss
— Methodget_loss(value)
Get HVDCLine loss.
PowerSystems.get_lv
— Methodget_lv(value)
Get CurrentControl lv.
PowerSystems.get_maxactivepower
— Methodget_maxactivepower(value)
Get Area maxactivepower.
PowerSystems.get_maxactivepower
— Methodget_maxactivepower(value)
Get InterruptibleLoad maxactivepower.
PowerSystems.get_maxactivepower
— Methodget_maxactivepower(value)
Get LoadZone maxactivepower.
PowerSystems.get_maxactivepower
— Methodget_maxactivepower(value)
Get PowerLoad maxactivepower.
PowerSystems.get_maxreactivepower
— Methodget_maxreactivepower(value)
Get Area maxreactivepower.
PowerSystems.get_maxreactivepower
— Methodget_maxreactivepower(value)
Get InterruptibleLoad maxreactivepower.
PowerSystems.get_maxreactivepower
— Methodget_maxreactivepower(value)
Get LoadZone maxreactivepower.
PowerSystems.get_maxreactivepower
— Methodget_maxreactivepower(value)
Get PowerLoad maxreactivepower.
PowerSystems.get_model
— Methodget_model(value)
Get InterruptibleLoad model.
PowerSystems.get_model
— Methodget_model(value)
Get PowerLoad model.
PowerSystems.get_n_states
— Methodget_n_states(value)
Get AVRFixed n_states.
PowerSystems.get_n_states
— Methodget_n_states(value)
Get AVRSimple n_states.
PowerSystems.get_n_states
— Methodget_n_states(value)
Get AVRTypeII n_states.
PowerSystems.get_n_states
— Methodget_n_states(value)
Get AVRTypeI n_states.
PowerSystems.get_n_states
— Methodget_n_states(value)
Get AndersonFouadMachine n_states.
PowerSystems.get_n_states
— Methodget_n_states(value)
Get AverageConverter n_states.
PowerSystems.get_n_states
— Methodget_n_states(value)
Get BaseMachine n_states.
PowerSystems.get_n_states
— Methodget_n_states(value)
Get CurrentControl n_states.
PowerSystems.get_n_states
— Methodget_n_states(value)
Get FiveMassShaft n_states.
PowerSystems.get_n_states
— Methodget_n_states(value)
Get FixedDCSource n_states.
PowerSystems.get_n_states
— Methodget_n_states(value)
Get FullMachine n_states.
PowerSystems.get_n_states
— Methodget_n_states(value)
Get KauraPLL n_states.
PowerSystems.get_n_states
— Methodget_n_states(value)
Get LCLFilter n_states.
PowerSystems.get_n_states
— Methodget_n_states(value)
Get MarconatoMachine n_states.
PowerSystems.get_n_states
— Methodget_n_states(value)
Get OneDOneQMachine n_states.
PowerSystems.get_n_states
— Methodget_n_states(value)
Get PSSFixed n_states.
PowerSystems.get_n_states
— Methodget_n_states(value)
Get LCFilter n_states.
PowerSystems.get_n_states
— Methodget_n_states(value)
Get PSSSimple n_states.
PowerSystems.get_n_states
— Methodget_n_states(value)
Get ReactivePowerDroop n_states.
PowerSystems.get_n_states
— Methodget_n_states(value)
Get SimpleAFMachine n_states.
PowerSystems.get_n_states
— Methodget_n_states(value)
Get SimpleFullMachine n_states.
PowerSystems.get_n_states
— Methodget_n_states(value)
Get SimpleMarconatoMachine n_states.
PowerSystems.get_n_states
— Methodget_n_states(value)
Get SingleMass n_states.
PowerSystems.get_n_states
— Methodget_n_states(value)
Get TGFixed n_states.
PowerSystems.get_n_states
— Methodget_n_states(value)
Get TGTypeII n_states.
PowerSystems.get_n_states
— Methodget_n_states(value)
Get TGTypeI n_states.
PowerSystems.get_n_states
— Methodget_n_states(value)
Get VirtualInertia n_states.
PowerSystems.get_number
— Methodget_number(value)
Get Bus number.
PowerSystems.get_op_cost
— Methodget_op_cost(value)
Get HydroEnergyReservoir op_cost.
PowerSystems.get_op_cost
— Methodget_op_cost(value)
Get InterruptibleLoad op_cost.
PowerSystems.get_op_cost
— Methodget_op_cost(value)
Get RenewableDispatch op_cost.
PowerSystems.get_op_cost
— Methodget_op_cost(value)
Get ReserveDemandCurve op_cost.
PowerSystems.get_op_cost
— Methodget_op_cost(value)
Get ThermalStandard op_cost.
PowerSystems.get_outputactivepowerlimits
— Methodget_outputactivepowerlimits(value)
Get GenericBattery outputactivepowerlimits.
PowerSystems.get_participation_factor
— Methodget_participation_factor(value)
Get ThermalStandard participation_factor.
PowerSystems.get_powerfactor
— Methodget_powerfactor(value)
Get RenewableDispatch powerfactor.
PowerSystems.get_powerfactor
— Methodget_powerfactor(value)
Get RenewableFix powerfactor.
PowerSystems.get_primaryshunt
— Methodget_primaryshunt(value)
Get PhaseShiftingTransformer primaryshunt.
PowerSystems.get_primaryshunt
— Methodget_primaryshunt(value)
Get TapTransformer primaryshunt.
PowerSystems.get_primaryshunt
— Methodget_primaryshunt(value)
Get Transformer2W primaryshunt.
PowerSystems.get_primemover
— Methodget_primemover(value)
Get GenericBattery primemover.
PowerSystems.get_primemover
— Methodget_primemover(value)
Get HydroDispatch primemover.
PowerSystems.get_primemover
— Methodget_primemover(value)
Get HydroEnergyReservoir primemover.
PowerSystems.get_primemover
— Methodget_primemover(value)
Get RenewableDispatch primemover.
PowerSystems.get_primemover
— Methodget_primemover(value)
Get RenewableFix primemover.
PowerSystems.get_primemover
— Methodget_primemover(value)
Get ThermalStandard primemover.
PowerSystems.get_r
— Methodget_r(value)
Get Line r.
PowerSystems.get_r
— Methodget_r(value)
Get MonitoredLine r.
PowerSystems.get_r
— Methodget_r(value)
Get PhaseShiftingTransformer r.
PowerSystems.get_r
— Methodget_r(value)
Get TapTransformer r.
PowerSystems.get_r
— Methodget_r(value)
Get Transformer2W r.
PowerSystems.get_ramplimits
— Methodget_ramplimits(value)
Get HydroDispatch ramplimits.
PowerSystems.get_ramplimits
— Methodget_ramplimits(value)
Get HydroEnergyReservoir ramplimits.
PowerSystems.get_ramplimits
— Methodget_ramplimits(value)
Get ThermalStandard ramplimits.
PowerSystems.get_rate
— Methodget_rate(value)
Get Line rate.
PowerSystems.get_rate
— Methodget_rate(value)
Get MonitoredLine rate.
PowerSystems.get_rate
— Methodget_rate(value)
Get PhaseShiftingTransformer rate.
PowerSystems.get_rate
— Methodget_rate(value)
Get TapTransformer rate.
PowerSystems.get_rate
— Methodget_rate(value)
Get Transformer2W rate.
PowerSystems.get_rating
— Methodget_rating(value)
Get GenericBattery rating.
PowerSystems.get_rating
— Methodget_rating(value)
Get HydroDispatch rating.
PowerSystems.get_rating
— Methodget_rating(value)
Get HydroEnergyReservoir rating.
PowerSystems.get_rating
— Methodget_rating(value)
Get RenewableDispatch rating.
PowerSystems.get_rating
— Methodget_rating(value)
Get RenewableFix rating.
PowerSystems.get_rating
— Methodget_rating(value)
Get ThermalStandard rating.
PowerSystems.get_reactivepower
— Methodget_reactivepower(value)
Get GenericBattery reactivepower.
PowerSystems.get_reactivepower
— Methodget_reactivepower(value)
Get HydroDispatch reactivepower.
PowerSystems.get_reactivepower
— Methodget_reactivepower(value)
Get HydroEnergyReservoir reactivepower.
PowerSystems.get_reactivepower
— Methodget_reactivepower(value)
Get InterruptibleLoad reactivepower.
PowerSystems.get_reactivepower
— Methodget_reactivepower(value)
Get PowerLoad reactivepower.
PowerSystems.get_reactivepower
— Methodget_reactivepower(value)
Get RenewableDispatch reactivepower.
PowerSystems.get_reactivepower
— Methodget_reactivepower(value)
Get RenewableFix reactivepower.
PowerSystems.get_reactivepower
— Methodget_reactivepower(value)
Get Source reactivepower.
PowerSystems.get_reactivepower
— Methodget_reactivepower(value)
Get ThermalStandard reactivepower.
PowerSystems.get_reactivepower_flow
— Methodget_reactivepower_flow(value)
Get Line reactivepower_flow.
PowerSystems.get_reactivepower_flow
— Methodget_reactivepower_flow(value)
Get MonitoredLine reactivepower_flow.
PowerSystems.get_reactivepower_flow
— Methodget_reactivepower_flow(value)
Get PhaseShiftingTransformer reactivepower_flow.
PowerSystems.get_reactivepower_flow
— Methodget_reactivepower_flow(value)
Get TapTransformer reactivepower_flow.
PowerSystems.get_reactivepower_flow
— Methodget_reactivepower_flow(value)
Get Transformer2W reactivepower_flow.
PowerSystems.get_reactivepowerlimits
— Methodget_reactivepowerlimits(value)
Get GenericBattery reactivepowerlimits.
PowerSystems.get_reactivepowerlimits
— Methodget_reactivepowerlimits(value)
Get HydroDispatch reactivepowerlimits.
PowerSystems.get_reactivepowerlimits
— Methodget_reactivepowerlimits(value)
Get HydroEnergyReservoir reactivepowerlimits.
PowerSystems.get_reactivepowerlimits
— Methodget_reactivepowerlimits(value)
Get RenewableDispatch reactivepowerlimits.
PowerSystems.get_reactivepowerlimits
— Methodget_reactivepowerlimits(value)
Get ThermalStandard reactivepowerlimits.
PowerSystems.get_reactivepowerlimits_from
— Methodget_reactivepowerlimits_from(value)
Get HVDCLine reactivepowerlimits_from.
PowerSystems.get_reactivepowerlimits_to
— Methodget_reactivepowerlimits_to(value)
Get HVDCLine reactivepowerlimits_to.
PowerSystems.get_rectifier_firing_angle
— Methodget_rectifier_firing_angle(value)
Get VSCDCLine rectifierfiringangle.
PowerSystems.get_rectifier_taplimits
— Methodget_rectifier_taplimits(value)
Get VSCDCLine rectifier_taplimits.
PowerSystems.get_rectifier_xrc
— Methodget_rectifier_xrc(value)
Get VSCDCLine rectifier_xrc.
PowerSystems.get_requirement
— Methodget_requirement(value)
Get StaticReserve requirement.
PowerSystems.get_requirement
— Methodget_requirement(value)
Get Transfer requirement.
PowerSystems.get_requirement
— Methodget_requirement(value)
Get VariableReserve requirement.
PowerSystems.get_rf
— Methodget_rf(value)
Get LCLFilter rf.
PowerSystems.get_rf
— Methodget_rf(value)
Get LCFilter rf.
PowerSystems.get_rg
— Methodget_rg(value)
Get LCLFilter rg.
PowerSystems.get_rv
— Methodget_rv(value)
Get CurrentControl rv.
PowerSystems.get_s_rated
— Methodget_s_rated(value)
Get AverageConverter s_rated.
PowerSystems.get_services
— Methodget_services(value)
Get FixedAdmittance services.
PowerSystems.get_services
— Methodget_services(value)
Get GenericBattery services.
PowerSystems.get_services
— Methodget_services(value)
Get HVDCLine services.
PowerSystems.get_services
— Methodget_services(value)
Get HydroDispatch services.
PowerSystems.get_services
— Methodget_services(value)
Get HydroEnergyReservoir services.
PowerSystems.get_services
— Methodget_services(value)
Get InterruptibleLoad services.
PowerSystems.get_services
— Methodget_services(value)
Get Line services.
PowerSystems.get_services
— Methodget_services(value)
Get MonitoredLine services.
PowerSystems.get_services
— Methodget_services(value)
Get PhaseShiftingTransformer services.
PowerSystems.get_services
— Methodget_services(value)
Get PowerLoad services.
PowerSystems.get_services
— Methodget_services(value)
Get RenewableDispatch services.
PowerSystems.get_services
— Methodget_services(value)
Get RenewableFix services.
PowerSystems.get_services
— Methodget_services(value)
Get Source services.
PowerSystems.get_services
— Methodget_services(value)
Get TapTransformer services.
PowerSystems.get_services
— Methodget_services(value)
Get ThermalStandard services.
PowerSystems.get_services
— Methodget_services(value)
Get Transformer2W services.
PowerSystems.get_services
— Methodget_services(value)
Get VSCDCLine services.
PowerSystems.get_shutdn
— Methodget_shutdn(value)
Get ThreePartCost shutdn.
PowerSystems.get_slopes
— Methodget_slopes(vc)
get_slopes(vc::VariableCost{Vector{NTuple{2, Float64}}})
Calculates the slopes for the variable cost represented as a piece wise linear cost function. This function returns n - slopes for n - piecewise linear elements in the function. The first element of the return array corresponds to the average cost at the minimum operating point. If your formulation uses n -1 slopes, you can disregard the first component of the array.
PowerSystems.get_startup
— Methodget_startup(value)
Get ThreePartCost startup.
PowerSystems.get_states
— Methodget_states(value)
Get AVRFixed states.
PowerSystems.get_states
— Methodget_states(value)
Get AVRSimple states.
PowerSystems.get_states
— Methodget_states(value)
Get AVRTypeII states.
PowerSystems.get_states
— Methodget_states(value)
Get AVRTypeI states.
PowerSystems.get_states
— Methodget_states(value)
Get AndersonFouadMachine states.
PowerSystems.get_states
— Methodget_states(value)
Get AverageConverter states.
PowerSystems.get_states
— Methodget_states(value)
Get BaseMachine states.
PowerSystems.get_states
— Methodget_states(value)
Get CurrentControl states.
PowerSystems.get_states
— Methodget_states(value)
Get FiveMassShaft states.
PowerSystems.get_states
— Methodget_states(value)
Get FixedDCSource states.
PowerSystems.get_states
— Methodget_states(value)
Get FullMachine states.
PowerSystems.get_states
— Methodget_states(value)
Get KauraPLL states.
PowerSystems.get_states
— Methodget_states(value)
Get LCLFilter states.
PowerSystems.get_states
— Methodget_states(value)
Get MarconatoMachine states.
PowerSystems.get_states
— Methodget_states(value)
Get OneDOneQMachine states.
PowerSystems.get_states
— Methodget_states(value)
Get PSSFixed states.
PowerSystems.get_states
— Methodget_states(value)
Get LCFilter states.
PowerSystems.get_states
— Methodget_states(value)
Get PSSSimple states.
PowerSystems.get_states
— Methodget_states(value)
Get ReactivePowerDroop states.
PowerSystems.get_states
— Methodget_states(value)
Get SimpleAFMachine states.
PowerSystems.get_states
— Methodget_states(value)
Get SimpleFullMachine states.
PowerSystems.get_states
— Methodget_states(value)
Get SimpleMarconatoMachine states.
PowerSystems.get_states
— Methodget_states(value)
Get SingleMass states.
PowerSystems.get_states
— Methodget_states(value)
Get TGFixed states.
PowerSystems.get_states
— Methodget_states(value)
Get TGTypeII states.
PowerSystems.get_states
— Methodget_states(value)
Get TGTypeI states.
PowerSystems.get_states
— Methodget_states(value)
Get VirtualInertia states.
PowerSystems.get_status
— Methodget_status(value)
Get ThermalStandard status.
PowerSystems.get_storage_capacity
— Methodget_storage_capacity(value)
Get HydroEnergyReservoir storage_capacity.
PowerSystems.get_tap
— Methodget_tap(value)
Get PhaseShiftingTransformer tap.
PowerSystems.get_tap
— Methodget_tap(value)
Get TapTransformer tap.
PowerSystems.get_time_at_status
— Methodget_time_at_status(value)
Get ThermalStandard timeatstatus.
PowerSystems.get_timeframe
— Methodget_timeframe(value)
Get ReserveDemandCurve timeframe.
PowerSystems.get_timeframe
— Methodget_timeframe(value)
Get StaticReserve timeframe.
PowerSystems.get_timeframe
— Methodget_timeframe(value)
Get VariableReserve timeframe.
PowerSystems.get_timelimits
— Methodget_timelimits(value)
Get HydroDispatch timelimits.
PowerSystems.get_timelimits
— Methodget_timelimits(value)
Get HydroEnergyReservoir timelimits.
PowerSystems.get_timelimits
— Methodget_timelimits(value)
Get ThermalStandard timelimits.
PowerSystems.get_to
— Methodget_to(value)
Get Arc to.
PowerSystems.get_v_rated
— Methodget_v_rated(value)
Get AverageConverter v_rated.
PowerSystems.get_variable
— Methodget_variable(value)
Get ThreePartCost variable.
PowerSystems.get_variable
— Methodget_variable(value)
Get TwoPartCost variable.
PowerSystems.get_voltage
— Methodget_voltage(value)
Get Bus voltage.
PowerSystems.get_voltage
— Methodget_voltage(value)
Get FixedDCSource voltage.
PowerSystems.get_voltagelimits
— Methodget_voltagelimits(value)
Get Bus voltagelimits.
PowerSystems.get_x
— Methodget_x(value)
Get Line x.
PowerSystems.get_x
— Methodget_x(value)
Get MonitoredLine x.
PowerSystems.get_x
— Methodget_x(value)
Get PhaseShiftingTransformer x.
PowerSystems.get_x
— Methodget_x(value)
Get TapTransformer x.
PowerSystems.get_x
— Methodget_x(value)
Get Transformer2W x.
PowerSystems.get_α
— Methodget_α(value)
Get PhaseShiftingTransformer α.
PowerSystems.get_γd
— Methodget_γd(value)
Get MarconatoMachine γd.
PowerSystems.get_γd
— Methodget_γd(value)
Get SimpleMarconatoMachine γd.
PowerSystems.get_γq
— Methodget_γq(value)
Get MarconatoMachine γq.
PowerSystems.get_γq
— Methodget_γq(value)
Get SimpleMarconatoMachine γq.
PowerSystems.get_τ_max
— Methodget_τ_max(value)
Get TGTypeII τ_max.
PowerSystems.get_τ_min
— Methodget_τ_min(value)
Get TGTypeII τ_min.
PowerSystems.get_ω_lp
— Methodget_ω_lp(value)
Get KauraPLL ω_lp.
PowerSystems.get_ωad
— Methodget_ωad(value)
Get CurrentControl ωad.
PowerSystems.get_ωb
— Methodget_ωb(value)
Get VirtualInertia ωb.
PowerSystems.get_ωf
— Methodget_ωf(value)
Get ReactivePowerDroop ωf.
PowerSystems.has_service
— Methodhas_service(device, service)
has_service(device::Device, service::Service)
Return true if the service is attached to the device.
PowerSystems.has_service
— Methodhas_service(device, ?)
has_service(device::Device, ::Type{T}) where T <:Service
Return true if a service with type T is attached to the device.
PowerSystems.iterate_components
— Methoditerate_components(sys)
iterate_components(sys::System)
Iterates over all components.
Examples
for component in iterate_components(sys)
@show component
end
See also: get_components
PowerSystems.iterate_forecasts
— Methoditerate_forecasts(sys)
iterate_forecasts(sys::System)
Iterate over all forecasts in order of initial time.
Examples
for forecast in iterate_forecasts(sys)
@show forecast
end
PowerSystems.make_forecasts
— Methodmake_forecasts(sys, metadata_file; resolution)
make_forecasts(sys::System, metadata_file::AbstractString; resolution = nothing)
Return a vector of forecasts from a metadata file.
Arguments
data::SystemData
: systemmetadata_file::AbstractString
: path to metadata fileresolution::{Nothing, Dates.Period}
: skip any forecasts that don't match this resolution
See InfrastructureSystems.TimeseriesFileMetadata for description of what the file should contain.
PowerSystems.make_forecasts
— Methodmake_forecasts(sys, metadata; resolution)
make_forecasts(
sys::System,
metadata::Vector{IS.TimeseriesFileMetadata};
resolution = nothing,
)
Return a vector of forecasts from a vector of TimeseriesFileMetadata values.
Arguments
data::SystemData
: systemtimeseries_metadata::Vector{TimeseriesFileMetadata}
: metadata valuesresolution::{Nothing, Dates.Period}
: skip any forecasts that don't match this resolution
PowerSystems.make_pf
— Methodmake_pf(system)
make_pf(sys)
Create the objects needed to solve an powerflow case using NLsolve.jl solvers. Returns an anonymous function with the powerflow equations, initial conditions and a dict to link the solutions to the original system. Only supports systems with a single generator per bus and currently doesn't support distributed slack buses and doesn't enforce reactive power limits.
Example
pf!, x0 = make_pf(sys)
res = NLsolve.nlsolve(pf!, x0)
Arguments
* `sys`::System : a PowerSystems.jl system
PowerSystems.parse_file
— Methodparse_file(io; import_all, validate, filetype)
Parses the iostream from a file
PowerSystems.remove_component!
— Methodremove_component!(sys::System, component::T) where {T <: Component}
Remove a component from the system by its value.
Throws ArgumentError if the component is not stored.
PowerSystems.remove_component!
— Methodremove_component!(
::Type{T},
sys::System,
name::AbstractString,
) where {T <: Component}
Remove a component from the system by its name.
Throws ArgumentError if the component is not stored.
PowerSystems.remove_components!
— Methodremove_components!(?, sys)
remove_components!(::Type{T}, sys::System) where {T <: Component}
Remove all components of type T from the system.
Throws ArgumentError if the type is not stored.
PowerSystems.remove_forecast!
— Methodremove_forecast!(?, sys, component, initial_time, label)
remove_forecast!(
::Type{T},
sys::System,
component::Component,
initial_time::Dates.DateTime,
label::String,
) where {T <: Forecast}
Remove the time series data for a component.
PowerSystems.remove_service!
— Methodremove_service!(device, service)
remove_service!(device::Device, service::Service)
Remove a service from a device.
Throws ArgumentError if the service is not attached to the device.
PowerSystems.set_area!
— Methodset_area!(value, val)
Set AGC area.
PowerSystems.set_area!
— Methodset_area!(value, val)
Set Bus area.
PowerSystems.set_dynamic_injector!
— Methodset_dynamic_injector!(static_injector, dynamic_injector)
Any StaticInjection struct that wants to support dynamic injectors must implement this method to set the value.
The method is only for internal uses.
PowerSystems.set_load_zone!
— Methodset_load_zone!(value, val)
Set Bus load_zone.
PowerSystems.set_static_injector!
— Methodset_static_injector!(dynamic_injector, static_injector)
All DynamicInjection structs must implement this method to set the value.
The method is only for internal uses.
PowerSystems.solve_powerflow!
— Methodsolve_powerflow!(sys, nlsolve; args...)
solve_powerflow!(sys, solve_function, args...)
Solves a the power flow into the system and writes the solution into the relevant structs. Updates generators active and reactive power setpoints and branches active and reactive power flows (calculated in the From - To direction) (see flow_val
)
Requires loading NLsolve.jl to run. Internally it uses the makepf (see [`makepf`](@ref)) to create the problem and solve it. As a result it doesn't enforce reactivepower limits.
Supports passing NLsolve kwargs in the args. By default shows the solver trace.
Arguments available for nlsolve
:
method
: See NLSolve.jl documentation for available solversxtol
: norm difference inx
between two successive iterates under which convergence is declared. Default:0.0
.ftol
: infinite norm of residuals under which convergence is declared. Default:1e-8
.iterations
: maximum number of iterations. Default:1_000
.store_trace
: should a trace of the optimization algorithm's state be stored? Default:false
.show_trace
: should a trace of the optimization algorithm's state be shown onSTDOUT
? Default:false
.extended_trace
: should additifonal algorithm internals be added to the state trace? Default:false
.
Examples
using NLsolve
solve_powerflow!(sys, nlsolve)
# Passing NLsolve arguments
solve_powerflow!(sys, nlsolve, method = :newton)
PowerSystems.to_json
— Methodto_json(io, sys)
to_json(io::IO, sys::System)
Serializes a system an IO stream in JSON.
PowerSystems.to_json
— Methodto_json(sys, filename; force)
to_json(sys::System, filename::AbstractString)
Serializes a system to a JSON string.
PowerSystems.update_data!
— Methodupdate_data!(data, new_data)
recursively applies new_data to data, overwriting information
PowerSystems.validate_forecast_consistency
— Methodvalidate_forecast_consistency(sys)
validate_forecast_consistency(sys::System)
Return true if all forecasts have consistent parameters.
Internal
PowerSystems._pti_dtypes
— Constantlookup array of data types for PTI file sections given by field_name
, as enumerated by PSS/E Program Operation Manual.
PowerSystems._pti_sections
— ConstantA list of data file sections in the order that they appear in a PTI v33 file
PowerSystems.pm_component_status
— Constantmaps component types to status parameters
PowerSystems.pm_component_status_inactive
— Constantmaps component types to inactive status values
PowerSystems.LCFilter
— Typemutable struct LCFilter <: Filter
lf::Float64
rf::Float64
cf::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
end
Parameters of a LCL filter outside the converter
Arguments
lf::Float64
: filter inductance, validation range: (0, nothing)rf::Float64
: filter resistance, validation range: (0, nothing)cf::Float64
: filter capacitance, validation range: (0, nothing)ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
PowerSystems.PSSSimple
— Typemutable struct PSSSimple <: PSS
K_ω::Float64
K_p::Float64
ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
end
Parameters of a PSS that returns a proportional droop voltage to add to the reference for the AVR
Arguments
K_ω::Float64
: Proportional gain for frequency, validation range: (0, nothing)K_p::Float64
: Proportional gain for active power, validation range: (0, nothing)ext::Dict{String, Any}
states::Vector{Symbol}
n_states::Int64
internal::InfrastructureSystemsInternal
: power system internal reference, do not modify
PowerSystems.PowerSystemTableData
— MethodPowerSystemTableData(directory, basepower, user_descriptor_file; descriptor_file, generator_mapping_file, timeseries_metadata_file)
PowerSystemTableData(directory::AbstractString,
basepower::Float64,
user_descriptor_file::AbstractString;
descriptor_file=POWER_SYSTEM_DESCRIPTOR_FILE)
Reads in all the data stored in csv files The general format for data is folder: gen.csv branch.csv bus.csv .. load.csv
Arguments
directory::AbstractString
: directory containing CSV filesbasepower::Float64
: base power for Systemuser_descriptor_file::AbstractString
: customized input descriptor filedescriptor_file=POWER_SYSTEM_DESCRIPTOR_FILE
: PowerSystems descriptor filegenerator_mapping_file=GENERATOR_MAPPING_FILE
: generator mapping configuration file
PowerSystems._FieldInfo
— TypeStores user-customized information for required dataframe columns.
InfrastructureSystems.convert_type
— Methodconvert_type(?, data, component_cache)
Creates a Device object by decoding the data that was in JSON. This data stores the values for buses and services as UUIDs, so this will lookup each in component_cache.
InfrastructureSystems.convert_type
— Methodconvert_type(?, data, devices)
Creates a Service object by decoding the data that was in JSON. This data stores the values for the field contributingdevices as UUIDs, so this will lookup each device in devices.
JSON2.read
— Methodread(io, ?)
Enables deserialization of VariableCost. The default implementation can't figure out the variable Union.
PowerSystems._add_dcline_costs!
— Method_add_dcline_costs!(data)
adds dcline costs, if gen costs exist
PowerSystems._add_line_delimiter
— Method_add_line_delimiter(mp_line, start_char, end_char)
PowerSystems._apply_func!
— Method_apply_func!(data, key, func)
PowerSystems._biggest_generator
— Method_biggest_generator(gens)
find the largest active generator in the network
PowerSystems._bold
— Method_bold(s)
Makes a string bold in the terminal
PowerSystems._calc_branch_flow_ac
— Method_calc_branch_flow_ac(data)
helper function for calcbranchflow_ac
PowerSystems._calc_branch_flow_dc
— Method_calc_branch_flow_dc(data)
helper function for calcbranchflow_dc
PowerSystems._calc_comp_lines
— Method_calc_comp_lines(component)
compute lines in m and b from from pwl cost models
PowerSystems._calc_max_cost_index
— Method_calc_max_cost_index(data)
PowerSystems._calc_power_balance
— Method_calc_power_balance(data)
helper function for calcpowerbalance
PowerSystems._check_conductors
— Method_check_conductors(data)
PowerSystems._check_keys
— Method_check_keys(data, keys)
PowerSystems._compare_numbers
— Method_compare_numbers(v1, v2)
tests if two numbers are equal, up to floating point precision
PowerSystems._correct_cost_function!
— Method_correct_cost_function!(id, comp, type_name)
PowerSystems._correct_reference_buses!
— Method_correct_reference_buses!(data)
PowerSystems._create_starbus_from_transformer
— Method_create_starbus_from_transformer(pm_data, transformer)
create_starbus(pm_data, transformer)
Creates a starbus from a given three-winding transformer
. "sourceid" is given by `["busi", "name", "I", "J", "K", "CKT"]` where "bus_i" and "name" are the modified names for the starbus, and "I", "J", "K" and "CKT" come from the originating transformer, in the PSS(R)E transformer specification.
PowerSystems._dfs
— Method_dfs(i, neighbors, component_lookup, touched)
performs DFS on a graph
PowerSystems._export_cost_data
— Method_export_cost_data(io, components, prefix)
Export cost data
PowerSystems._export_extra_data
— Function_export_extra_data(io, data, component)
_export_extra_data(io, data, component, excluded_fields; postfix)
Export fields of a component type
PowerSystems._extract_matlab_assignment
— Method_extract_matlab_assignment(string)
breaks up matlab strings of the form 'name = value;'
PowerSystems._find_max_bus_id
— Method_find_max_bus_id(pm_data)
_find_max_bus_id(pm_data)
Returns the maximum bus id in pm_data
PowerSystems._float2string
— Method_float2string(v, float_precision)
converts a float value into a string of fixed precision
sprintf would do the job but this work around is needed because sprintf cannot take format strings during runtime
PowerSystems._get_bus_value
— Method_get_bus_value(bus_i, field, pm_data)
_get_bus_value(bus_i, field, pm_data)
Returns the value of field
of bus_i
from the PowerModels data. Requires "bus" Dict to already be populated.
PowerSystems._get_default
— Function_get_default(dict, key)
_get_default(dict, key, default)
Get a default value for dict entry
PowerSystems._get_line_elements
— Method_get_line_elements(line)
_get_line_elements(line)
Internal function. Uses regular expressions to extract all separate data elements from a line of a PTI file and populate them into an Array{String}
. Comments, typically indicated at the end of a line with a '/'
character, are also extracted separately, and Array{Array{String}, String}
is returned.
PowerSystems._get_pm_dict_name
— Method_get_pm_dict_name(device_dict)
Internal component name retreval from pm2ps_dict
PowerSystems._grey
— Method_grey(s)
Makes a string grey in the terminal, does not seem to work well on Windows terminals more info can be found at https://en.wikipedia.org/wiki/ANSIescapecode
PowerSystems._import_remaining!
— Method_import_remaining!(data_out, data_in, import_all; exclude)
Imports remaining keys from data_in
into data_out
, excluding keys in exclude
PowerSystems._init_bus!
— Method_init_bus!(bus, id)
_init_bus!(bus, id)
Initializes a bus
of id id
with default values given in the PSS(R)E specification.
PowerSystems._make_mixed_units!
— Method_make_mixed_units!(data, mva_base)
PowerSystems._make_per_unit!
— Method_make_per_unit!(data, mva_base)
PowerSystems._matpower_to_powermodels!
— Method_matpower_to_powermodels!(mp_data)
Converts a Matpower dict into a PowerModels dict
PowerSystems._merge_bus_name_data!
— Method_merge_bus_name_data!(data)
merges bus name data into buses, if names exist
PowerSystems._merge_generator_cost_data!
— Method_merge_generator_cost_data!(data)
merges generator cost functions into generator data, if costs exist
PowerSystems._merge_generic_data!
— Method_merge_generic_data!(data)
merges Matpower tables based on the table extension syntax
PowerSystems._mp2pm_branch!
— Method_mp2pm_branch!(data)
sets all branch transformer taps to 1.0, to simplify branch models
PowerSystems._mp2pm_dcline!
— Method_mp2pm_dcline!(data)
adds pmin and pmax values at to and from buses
PowerSystems._mp_cost_data
— Method_mp_cost_data(cost_row)
PowerSystems._parse_elements
— Method_parse_elements(elements, dtypes, defaults, section)
This is an experimental method for parsing elements and setting defaults at the same time. It is not currently working but would reduce memory allocations if implemented correctly.
PowerSystems._parse_line_element!
— Method_parse_line_element!(data, elements, section)
_parse_line_element!(data, elements, section)
Internal function. Parses a single "line" of data elements from a PTI file, as given by elements
which is an array of the line, typically split at ,
. Elements are parsed into data types given by section
and saved into data::Dict
.
PowerSystems._parse_matlab_cells
— Method_parse_matlab_cells(lines, index)
PowerSystems._parse_matlab_data
— Method_parse_matlab_data(lines, index, start_char, end_char)
PowerSystems._parse_matlab_matrix
— Method_parse_matlab_matrix(lines, index)
PowerSystems._parse_matpower_string
— Method_parse_matpower_string(data_string)
PowerSystems._parse_pti_data
— Method_parse_pti_data(data_io)
_parse_pti_data(data_string, sections)
Internal function. Parse a PTI raw file into a Dict
, given the data_string
of the file and a list of the sections
in the PTI file (typically given by default by get_pti_sections()
.
PowerSystems._populate_defaults!
— Method_populate_defaults!(data)
_populate_defaults!(pti_data)
Internal function. Populates empty fields with PSS(R)E PTI v33 default values
PowerSystems._propagate_topology_status!
— Method_propagate_topology_status!(data)
PowerSystems._psse2pm_branch!
— Method_psse2pm_branch!(pm_data, pti_data, import_all)
_psse2pm_branch!(pm_data, pti_data)
Parses PSS(R)E-style Branch data into a PowerModels-style Dict. "source_id" is given by ["I", "J", "CKT"]
in PSS(R)E Branch specification.
PowerSystems._psse2pm_bus!
— Method_psse2pm_bus!(pm_data, pti_data, import_all)
_psse2pm_bus!(pm_data, pti_data)
Parses PSS(R)E-style Bus data into a PowerModels-style Dict. "source_id" is given by ["I", "NAME"] in PSS(R)E Bus specification.
PowerSystems._psse2pm_dcline!
— Method_psse2pm_dcline!(pm_data, pti_data, import_all)
_psse2pm_dcline!(pm_data, pti_data)
Parses PSS(R)E-style Two-Terminal and VSC DC Lines data into a PowerModels compatible Dict structure by first converting them to a simple DC Line Model. For Two-Terminal DC lines, "sourceid" is given by ["IPR", "IPI", "NAME"]
in the PSS(R)E Two-Terminal DC specification. For Voltage Source Converters, "sourceid" is given by ["IBUS1", "IBUS2", "NAME"]
, where "IBUS1" is "IBUS" of the first converter bus, and "IBUS2" is the "IBUS" of the second converter bus, in the PSS(R)E Voltage Source Converter specification.
PowerSystems._psse2pm_generator!
— Method_psse2pm_generator!(pm_data, pti_data, import_all)
_psse2pm_generator!(pm_data, pti_data)
Parses PSS(R)E-style Generator data in a PowerModels-style Dict. "source_id" is given by ["I", "ID"]
in PSS(R)E Generator specification.
PowerSystems._psse2pm_load!
— Method_psse2pm_load!(pm_data, pti_data, import_all)
_psse2pm_load!(pm_data, pti_data)
Parses PSS(R)E-style Load data into a PowerModels-style Dict. "source_id" is given by ["I", "ID"]
in the PSS(R)E Load specification.
PowerSystems._psse2pm_shunt!
— Method_psse2pm_shunt!(pm_data, pti_data, import_all)
_psse2pm_shunt!(pm_data, pti_data)
Parses PSS(R)E-style Fixed and Switched Shunt data into a PowerModels-style Dict. "source_id" is given by ["I", "ID"]
for Fixed Shunts, and ["I", "SWREM"]
for Switched Shunts, as given by the PSS(R)E Fixed and Switched Shunts specifications.
PowerSystems._psse2pm_transformer!
— Method_psse2pm_transformer!(pm_data, pti_data, import_all)
_psse2pm_transformer!(pm_data, pti_data)
Parses PSS(R)E-style Transformer data into a PowerModels-style Dict. "source_id" is given by ["I", "J", "K", "CKT", "winding"]
, where "winding" is 0 if transformer is two-winding, and 1, 2, or 3 for three-winding, and the remaining keys are defined in the PSS(R)E Transformer specification.
PowerSystems._pti_to_powermodels!
— Method_pti_to_powermodels!(pti_data; import_all, validate)
_pti_to_powermodels!(pti_data)
Converts PSS(R)E-style data parsed from a PTI raw file, passed by pti_data
into a format suitable for use internally in PowerModels. Imports all remaining data from the PTI file if import_all
is true (Default: false).
PowerSystems._read_data_row
— Method_read_data_row(data, row, field_infos; na_to_nothing)
Reads values from dataframe row and performs necessary conversions.
PowerSystems._remove_aggregration_topology!
— Method_remove_aggregration_topology!(bus, ?)
removes the aggregation topology in a Bus
PowerSystems._remove_pwl_cost_duplicates!
— Function_remove_pwl_cost_duplicates!(id, comp, type_name)
_remove_pwl_cost_duplicates!(id, comp, type_name, tolerance)
checks that each point in the a pwl function is unqiue, simplifies the function if duplicates appear
PowerSystems._remove_service!
— Method_remove_service!(device, service)
Remove service from device if it is attached.
PowerSystems._rescale_cost_model!
— Method_rescale_cost_model!(comp, scale)
PowerSystems._select_largest_component!
— Method_select_largest_component!(data)
PowerSystems._simplify_pwl_cost!
— Function_simplify_pwl_cost!(id, comp, type_name)
_simplify_pwl_cost!(id, comp, type_name, tolerance)
checks the slope of each segment in a pwl function, simplifies the function if the slope changes is below a tolerance
PowerSystems._split_loads_shunts!
— Method_split_loads_shunts!(data)
_split_loads_shunts!(data)
Seperates Loads and Shunts in data
under separate "load" and "shunt" keys in the PowerModels data format. Includes references to originating bus via "loadbus" and "shuntbus" keys, respectively.
PowerSystems._standardize_cost_terms!
— Method_standardize_cost_terms!(components, comp_order, cost_comp_name)
ensures all polynomial costs functions have at exactly comp_order terms
PowerSystems._type_array
— Method_type_array(string_array)
Attempts to determine the type of an array of strings extracted from a matlab file
PowerSystems._type_value
— Method_type_value(value_string)
Attempts to determine the type of a string extracted from a matlab file
PowerSystems._update_data!
— Method_update_data!(data, new_data)
recursive call of updatedata
PowerSystems._value2string
— Method_value2string(v, float_precision)
converts any value to a string, summarizes arrays and dicts
PowerSystems.adequacy_check
— Methodadequacy_check(sys)
adequacy_check(sys::System)
Checks the system for sum(generator ratings) >= sum(load ratings).
Arguments
sys::System
: system
PowerSystems.arrays_to_dicts!
— Methodarrays_to_dicts!(data)
turns top level arrays into dicts
PowerSystems.branch_csv_parser!
— Methodbranch_csv_parser!(sys, data)
branch_csv_parser!(sys::System, data::PowerSystemTableData)
Add branches to the System from the raw data.
PowerSystems.bus_csv_parser!
— Methodbus_csv_parser!(sys, data)
bus_csv_parser!(sys::System, bus_raw::DataFrames.DataFrame)
Add buses and areas to the System from the raw data.
PowerSystems.bus_gen_lookup
— Methodbus_gen_lookup(gen_data, bus_data)
builds a lookup list of what generators are connected to a given bus
PowerSystems.bus_load_lookup
— Methodbus_load_lookup(load_data, bus_data)
builds a lookup list of what loads are connected to a given bus
PowerSystems.bus_shunt_lookup
— Methodbus_shunt_lookup(shunt_data, bus_data)
builds a lookup list of what shunts are connected to a given bus
PowerSystems.bus_storage_lookup
— Methodbus_storage_lookup(storage_data, bus_data)
builds a lookup list of what storage is connected to a given bus
PowerSystems.calc_branch_flow_ac
— Methodcalc_branch_flow_ac(data)
assumes a vaild ac solution is included in the data and computes the branch flow values
PowerSystems.calc_branch_flow_dc
— Methodcalc_branch_flow_dc(data)
assumes a vaild dc solution is included in the data and computes the branch flow values
PowerSystems.calc_branch_t
— Methodcalc_branch_t(branch)
PowerSystems.calc_branch_y
— Methodcalc_branch_y(branch)
PowerSystems.calc_connected_components
— Methodcalc_connected_components(data; edges)
computes the connected components of the network graph returns a set of sets of bus ids, each set is a connected component
PowerSystems.calc_cost_pwl_lines
— Methodcalc_cost_pwl_lines(comp_dict)
compute lines in m and b from from pwl cost models data is a list of components.
Can be run on data or ref data structures
PowerSystems.calc_dcline_cost
— Methodcalc_dcline_cost(data)
computes the dcline cost from given network data
PowerSystems.calc_gen_cost
— Methodcalc_gen_cost(data)
computes the generator cost from given network data
PowerSystems.calc_max_cost_index
— Methodcalc_max_cost_index(data)
PowerSystems.calc_power_balance
— Methodcalc_power_balance(data)
assumes a vaild solution is included in the data and computes the power balance at each bus
PowerSystems.calc_theta_delta_bounds
— Methodcalc_theta_delta_bounds(data)
PowerSystems.check_ascending_order
— Methodcheck_ascending_order(array, name)
Throws DataFormatError if the array is not in ascending order.
PowerSystems.check_branch_loops
— Methodcheck_branch_loops(data)
checks that all branches connect two distinct buses
PowerSystems.check_bus
— Methodcheck_bus(sys, bus, component)
Throws ArgumentError if the bus is not stored in the system.
PowerSystems.check_component_addition
— Methodcheck_component_addition(sys, component)
Throws ArgumentError if a PowerSystems rule blocks addition to the system.
This method is tied with handlecomponentaddition!. If the methods are re-implemented for a subtype then whatever is added in handlecomponentaddition! must be checked here.
PowerSystems.check_component_removal
— Methodcheck_component_removal(sys, component)
Throws ArgumentError if a PowerSystems rule blocks removal from the system.
PowerSystems.check_conductors
— Methodcheck_conductors(data)
PowerSystems.check_connectivity
— Methodcheck_connectivity(data)
checks that all buses are unique and other components link to valid buses
PowerSystems.check_reference_bus
— Methodcheck_reference_bus(data)
checks that contains at least one refrence bus
PowerSystems.check_reference_buses
— Methodcheck_reference_buses(data)
checks that each connected components has a reference bus, if not, adds one
PowerSystems.check_status
— Methodcheck_status(data)
checks that active components are not connected to inactive buses, otherwise prints warnings
PowerSystems.check_storage_parameters
— Methodcheck_storage_parameters(data)
checks that each storage unit has a reasonable parameters
PowerSystems.check_switch_parameters
— Methodcheck_switch_parameters(data)
checks that each switch has a reasonable parameters
PowerSystems.check_type
— Methodcheck_type(typ, value)
Checks if the given value is of a given type, if not tries to make it that type
PowerSystems.check_voltage_setpoints
— Methodcheck_voltage_setpoints(data)
throws warnings if generator and dc line voltage setpoints are not consistent with the bus voltage setpoint
PowerSystems.compare_dict
— Methodcompare_dict(d1, d2)
tests if two dicts are equal, up to floating point precision
PowerSystems.correct_branch_directions!
— Methodcorrect_branch_directions!(data)
checks that all parallel branches have the same orientation
PowerSystems.correct_bus_types!
— Methodcorrect_bus_types!(data)
checks bus types are consistent with generator connections, if not, fixes them
PowerSystems.correct_component_refrence_bus!
— Methodcorrect_component_refrence_bus!(component_bus_ids, bus_lookup, component_gens)
checks that a connected component has a reference bus, if not, adds one
PowerSystems.correct_cost_functions!
— Methodcorrect_cost_functions!(data)
throws warnings if cost functions are malformed
PowerSystems.correct_current_limits!
— Methodcorrect_current_limits!(data)
checks that each branch has a reasonable current rating-a, if not computes one
PowerSystems.correct_dcline_limits!
— Methodcorrect_dcline_limits!(data)
checks that parameters for dc lines are reasonable
PowerSystems.correct_network_data!
— Methodcorrect_network_data!(data)
Runs various data quality checks on a PowerModels data dictionary. Applies modifications in some cases. Reports modified component ids.
PowerSystems.correct_thermal_limits!
— Methodcorrect_thermal_limits!(data)
checks that each branch has a reasonable thermal rating-a, if not computes one
PowerSystems.correct_transformer_parameters!
— Methodcorrect_transformer_parameters!(data)
checks that each branch has a reasonable transformer parameters
this is important because setting tap == 0.0 leads to NaN computations, which are hard to debug
PowerSystems.correct_voltage_angle_differences!
— Functioncorrect_voltage_angle_differences!(data)
correct_voltage_angle_differences!(data, default_pad)
checks that voltage angle differences are within 90 deg., if not tightens
PowerSystems.dc_branch_csv_parser!
— Methoddc_branch_csv_parser!(sys, data)
dc_branch_csv_parser!(sys::System, data::PowerSystemTableData)
Add DC branches to the System from raw data.
PowerSystems.encode_for_json
— MethodEncode composed buses as UUIDs.
PowerSystems.encode_for_json
— MethodEncode composed buses, injectors, and services as UUIDs.
PowerSystems.export_matpower
— Methodexport_matpower(data)
Export power network data in the matpower format
PowerSystems.export_matpower
— Methodexport_matpower(io, data)
Export power network data in the matpower format
PowerSystems.flow_val
— Methodflow_val(b)
flow_val(b::TapTransformer)
Calculates the From - To complex power flow (Flow injected at the bus) of branch of type Line
PowerSystems.flow_val
— Methodflow_val(b)
flow_val(b::TapTransformer)
Calculates the From - To comp[lex power flow (Flow injected at the bus) of branch of type TapTransformer
PowerSystems.flow_val
— Methodflow_val(b)
flow_val(b::TapTransformer)
Calculates the From - To complex power flow (Flow injected at the bus) of branch of type Transformer2W
PowerSystems.gen_csv_parser!
— Methodgen_csv_parser!(sys, data)
gen_csv_parser!(sys::System, data::PowerSystemTableData)
Add generators to the System from the raw data.
PowerSystems.get_dataframe
— Methodget_dataframe(data, category)
Return the dataframe for the category.
PowerSystems.get_enum_value
— Methodget_enum_value(enum, value)
Get the enum value for the string. Case insensitive.
PowerSystems.get_forecast_keys
— Methodget_forecast_keys(component)
get_forecast_keys(component::Component)
Return an iterable of NamedTuple keys for forecasts stored for this component.
PowerSystems.get_generator_mapping
— Functionget_generator_mapping()
get_generator_mapping(filename)
Return a dict where keys are a tuple of input parameters (fuel, unit_type) and values are generator types.
PowerSystems.get_generator_type
— Methodget_generator_type(fuel, unit_type, mappings)
Return the PowerSystems generator type for this fuel and unit_type.
PowerSystems.get_static_injector
— Methodget_static_injector(device)
Return the static injector stored with a dynamic injector.
PowerSystems.get_user_field
— Methodget_user_field(data, category, field)
Return the custom name stored in the user descriptor file.
Throws DataFormatError if a required value is not found in the file.
PowerSystems.get_user_fields
— Methodget_user_fields(data, category)
Return a vector of user-defined fields for the category.
PowerSystems.handle_component_addition!
— Methodhandle_component_addition!(sys, component)
Refer to docstring for checkcomponentaddition!
PowerSystems.handle_component_removal!
— Methodhandle_component_removal!(sys, bus)
Throws ArgumentError if the bus number is not stored in the system.
PowerSystems.im_replicate
— Methodim_replicate(sn_data, count, global_keys)
Transforms a single network into a multinetwork with several deepcopies of the original network
PowerSystems.isafield
— Methodisafield(component, field)
Checks if a PowerSystemDevice has a field or subfield name.
PowerSystems.ismultinetwork
— Methodismultinetwork(data)
checks if a given network data is a multinetwork
PowerSystems.iterate_rows
— Methoditerate_rows(data, category; na_to_nothing)
iterate_rows(data::PowerSystemTableData, category; na_to_nothing=true)
Return a NamedTuple of parameters from the descriptor file for each row of a dataframe, making type conversions as necessary.
Refer to the PowerSystems descriptor file for field names that will be created.
PowerSystems.load_csv_parser!
— Methodload_csv_parser!(sys, data)
load_csv_parser!(sys::System, data::PowerSystemTableData)
Add loads to the System from the raw data.
PowerSystems.loadzone_csv_parser!
— Methodloadzone_csv_parser!(sys, data)
loadzone_csv_parser!(sys::System, data::PowerSystemTableData)
Add branches to the System from the raw data.
PowerSystems.make_bus
— Methodmake_bus(bus_dict)
Creates a PowerSystems.Bus from a PowerSystems bus dictionary
PowerSystems.make_generator
— Methodmake_generator(data, gen, cost_colnames, bus)
Creates a generator of any type.
PowerSystems.make_mixed_units!
— Methodmake_mixed_units!(data)
Transforms network data into mixed-units (inverse of per-unit)
PowerSystems.make_per_unit!
— Methodmake_per_unit!(data)
Transforms network data into per-unit
PowerSystems.make_thermal_gen
— Methodmake_thermal_gen(gen_name, d, bus)
The polynomial term follows the convention that for an n-degree polynomial, at least n + 1 components are needed. c(p) = cn*p^n+...+c1p+c0 co is stored in the field in of the Econ Struct
PowerSystems.move_genfuel_and_gentype!
— Methodmove_genfuel_and_gentype!(data)
Move gentype and genfuel fields to be subfields of gen
PowerSystems.parse_matpower
— Methodparse_matpower(io; validate)
Parses the matpwer data from either a filename or an IO object
PowerSystems.parse_psse
— Methodparse_psse(io; kwargs...)
Parses directly from iostream
PowerSystems.parse_psse
— Methodparse_psse(filename; kwargs...)
Parses directly from file
PowerSystems.parse_pti
— Methodparse_pti(io)
parse_pti(io::IO)
Reads PTI data in io::IO
, returning a Dict
of the data parsed into the proper types.
PowerSystems.parse_pti
— Methodparse_pti(filename)
parse_pti(filename::String)
Open PTI raw file given by filename
, returning a Dict
of the data parsed into the proper types.
PowerSystems.propagate_topology_status!
— Methodpropagate_topology_status!(data)
finds active network buses and branches that are not necessary for the computation and sets their status to off.
Works on a PowerModels data dict, so that a it can be used without a GenericPowerModel object
Warning: this implementation has quadratic complexity, in the worst case
PowerSystems.read_gen!
— Methodread_gen!(sys, data, bus_number_to_bus; kwargs...)
Transfer generators to ps_dict according to their classification
PowerSystems.replicate
— Methodreplicate(sn_data, count; global_keys)
Turns in given single network data in multinetwork data with a count
replicate of the given network. Note that this function performs a deepcopy of the network data. Significant multinetwork space savings can often be achieved by building application specific methods of building multinetwork with minimal data replication.
PowerSystems.row_to_dict
— Methodrow_to_dict(row_data, columns)
takes a row from a matrix and assigns the values names
PowerSystems.row_to_typed_dict
— Methodrow_to_typed_dict(row_data, columns)
takes a row from a matrix and assigns the values names and types
PowerSystems.select_largest_component
— Methodselect_largest_component(data)
determines the largest connected component of the network and turns everything else off
PowerSystems.services_csv_parser!
— Methodservices_csv_parser!(sys, data)
services_csv_parser!(sys::System, data::PowerSystemTableData)
Add services to the System from the raw data.
PowerSystems.set_Ae!
— Methodset_Ae!(value, val)
Set AVRTypeI Ae.
PowerSystems.set_Ae!
— Methodset_Ae!(value, val)
Set AVRTypeII Ae.
PowerSystems.set_Be!
— Methodset_Be!(value, val)
Set AVRTypeI Be.
PowerSystems.set_Be!
— Methodset_Be!(value, val)
Set AVRTypeII Be.
PowerSystems.set_D!
— Methodset_D!(value, val)
Set FiveMassShaft D.
PowerSystems.set_D!
— Methodset_D!(value, val)
Set SingleMass D.
PowerSystems.set_D_12!
— Methodset_D_12!(value, val)
Set FiveMassShaft D_12.
PowerSystems.set_D_23!
— Methodset_D_23!(value, val)
Set FiveMassShaft D_23.
PowerSystems.set_D_34!
— Methodset_D_34!(value, val)
Set FiveMassShaft D_34.
PowerSystems.set_D_45!
— Methodset_D_45!(value, val)
Set FiveMassShaft D_45.
PowerSystems.set_D_ex!
— Methodset_D_ex!(value, val)
Set FiveMassShaft D_ex.
PowerSystems.set_D_hp!
— Methodset_D_hp!(value, val)
Set FiveMassShaft D_hp.
PowerSystems.set_D_ip!
— Methodset_D_ip!(value, val)
Set FiveMassShaft D_ip.
PowerSystems.set_D_lp!
— Methodset_D_lp!(value, val)
Set FiveMassShaft D_lp.
PowerSystems.set_Emf!
— Methodset_Emf!(value, val)
Set AVRFixed Emf.
PowerSystems.set_H!
— Methodset_H!(value, val)
Set FiveMassShaft H.
PowerSystems.set_H!
— Methodset_H!(value, val)
Set SingleMass H.
PowerSystems.set_H_ex!
— Methodset_H_ex!(value, val)
Set FiveMassShaft H_ex.
PowerSystems.set_H_hp!
— Methodset_H_hp!(value, val)
Set FiveMassShaft H_hp.
PowerSystems.set_H_ip!
— Methodset_H_ip!(value, val)
Set FiveMassShaft H_ip.
PowerSystems.set_H_lp!
— Methodset_H_lp!(value, val)
Set FiveMassShaft H_lp.
PowerSystems.set_K0!
— Methodset_K0!(value, val)
Set AVRTypeII K0.
PowerSystems.set_K_d!
— Methodset_K_d!(value, val)
Set AGC K_d.
PowerSystems.set_K_ex!
— Methodset_K_ex!(value, val)
Set FiveMassShaft K_ex.
PowerSystems.set_K_hp!
— Methodset_K_hp!(value, val)
Set FiveMassShaft K_hp.
PowerSystems.set_K_i!
— Methodset_K_i!(value, val)
Set AGC K_i.
PowerSystems.set_K_ip!
— Methodset_K_ip!(value, val)
Set FiveMassShaft K_ip.
PowerSystems.set_K_lp!
— Methodset_K_lp!(value, val)
Set FiveMassShaft K_lp.
PowerSystems.set_K_p!
— Methodset_K_p!(value, val)
Set AGC K_p.
PowerSystems.set_K_p!
— Methodset_K_p!(value, val)
Set PSSSimple K_p.
PowerSystems.set_K_ω!
— Methodset_K_ω!(value, val)
Set PSSSimple K_ω.
PowerSystems.set_Ka!
— Methodset_Ka!(value, val)
Set AVRTypeI Ka.
PowerSystems.set_Ke!
— Methodset_Ke!(value, val)
Set AVRTypeI Ke.
PowerSystems.set_Kf!
— Methodset_Kf!(value, val)
Set AVRTypeI Kf.
PowerSystems.set_Kv!
— Methodset_Kv!(value, val)
Set AVRSimple Kv.
PowerSystems.set_L_1d!
— Methodset_L_1d!(value, val)
Set FullMachine L_1d.
PowerSystems.set_L_1d!
— Methodset_L_1d!(value, val)
Set SimpleFullMachine L_1d.
PowerSystems.set_L_1q!
— Methodset_L_1q!(value, val)
Set FullMachine L_1q.
PowerSystems.set_L_1q!
— Methodset_L_1q!(value, val)
Set SimpleFullMachine L_1q.
PowerSystems.set_L_ad!
— Methodset_L_ad!(value, val)
Set FullMachine L_ad.
PowerSystems.set_L_ad!
— Methodset_L_ad!(value, val)
Set SimpleFullMachine L_ad.
PowerSystems.set_L_aq!
— Methodset_L_aq!(value, val)
Set FullMachine L_aq.
PowerSystems.set_L_aq!
— Methodset_L_aq!(value, val)
Set SimpleFullMachine L_aq.
PowerSystems.set_L_d!
— Methodset_L_d!(value, val)
Set FullMachine L_d.
PowerSystems.set_L_d!
— Methodset_L_d!(value, val)
Set SimpleFullMachine L_d.
PowerSystems.set_L_f1d!
— Methodset_L_f1d!(value, val)
Set FullMachine L_f1d.
PowerSystems.set_L_f1d!
— Methodset_L_f1d!(value, val)
Set SimpleFullMachine L_f1d.
PowerSystems.set_L_ff!
— Methodset_L_ff!(value, val)
Set FullMachine L_ff.
PowerSystems.set_L_ff!
— Methodset_L_ff!(value, val)
Set SimpleFullMachine L_ff.
PowerSystems.set_L_q!
— Methodset_L_q!(value, val)
Set FullMachine L_q.
PowerSystems.set_L_q!
— Methodset_L_q!(value, val)
Set SimpleFullMachine L_q.
PowerSystems.set_MVABase!
— Methodset_MVABase!(value, val)
Set AndersonFouadMachine MVABase.
PowerSystems.set_MVABase!
— Methodset_MVABase!(value, val)
Set BaseMachine MVABase.
PowerSystems.set_MVABase!
— Methodset_MVABase!(value, val)
Set FullMachine MVABase.
PowerSystems.set_MVABase!
— Methodset_MVABase!(value, val)
Set MarconatoMachine MVABase.
PowerSystems.set_MVABase!
— Methodset_MVABase!(value, val)
Set OneDOneQMachine MVABase.
PowerSystems.set_MVABase!
— Methodset_MVABase!(value, val)
Set SimpleAFMachine MVABase.
PowerSystems.set_MVABase!
— Methodset_MVABase!(value, val)
Set SimpleFullMachine MVABase.
PowerSystems.set_MVABase!
— Methodset_MVABase!(value, val)
Set SimpleMarconatoMachine MVABase.
PowerSystems.set_P_max!
— Methodset_P_max!(value, val)
Set TGTypeI P_max.
PowerSystems.set_P_min!
— Methodset_P_min!(value, val)
Set TGTypeI P_min.
PowerSystems.set_R!
— Methodset_R!(value, val)
Set AndersonFouadMachine R.
PowerSystems.set_R!
— Methodset_R!(value, val)
Set BaseMachine R.
PowerSystems.set_R!
— Methodset_R!(value, val)
Set FullMachine R.
PowerSystems.set_R!
— Methodset_R!(value, val)
Set MarconatoMachine R.
PowerSystems.set_R!
— Methodset_R!(value, val)
Set OneDOneQMachine R.
PowerSystems.set_R!
— Methodset_R!(value, val)
Set SimpleAFMachine R.
PowerSystems.set_R!
— Methodset_R!(value, val)
Set SimpleFullMachine R.
PowerSystems.set_R!
— Methodset_R!(value, val)
Set SimpleMarconatoMachine R.
PowerSystems.set_R!
— Methodset_R!(value, val)
Set TGTypeI R.
PowerSystems.set_R!
— Methodset_R!(value, val)
Set TGTypeII R.
PowerSystems.set_R_1d!
— Methodset_R_1d!(value, val)
Set FullMachine R_1d.
PowerSystems.set_R_1d!
— Methodset_R_1d!(value, val)
Set SimpleFullMachine R_1d.
PowerSystems.set_R_1q!
— Methodset_R_1q!(value, val)
Set FullMachine R_1q.
PowerSystems.set_R_1q!
— Methodset_R_1q!(value, val)
Set SimpleFullMachine R_1q.
PowerSystems.set_R_f!
— Methodset_R_f!(value, val)
Set FullMachine R_f.
PowerSystems.set_R_f!
— Methodset_R_f!(value, val)
Set SimpleFullMachine R_f.
PowerSystems.set_T1!
— Methodset_T1!(value, val)
Set AVRTypeII T1.
PowerSystems.set_T1!
— Methodset_T1!(value, val)
Set TGTypeII T1.
PowerSystems.set_T2!
— Methodset_T2!(value, val)
Set AVRTypeII T2.
PowerSystems.set_T2!
— Methodset_T2!(value, val)
Set TGTypeII T2.
PowerSystems.set_T3!
— Methodset_T3!(value, val)
Set AVRTypeII T3.
PowerSystems.set_T3!
— Methodset_T3!(value, val)
Set TGTypeI T3.
PowerSystems.set_T4!
— Methodset_T4!(value, val)
Set AVRTypeII T4.
PowerSystems.set_T4!
— Methodset_T4!(value, val)
Set TGTypeI T4.
PowerSystems.set_T5!
— Methodset_T5!(value, val)
Set TGTypeI T5.
PowerSystems.set_T_AA!
— Methodset_T_AA!(value, val)
Set MarconatoMachine T_AA.
PowerSystems.set_T_AA!
— Methodset_T_AA!(value, val)
Set SimpleMarconatoMachine T_AA.
PowerSystems.set_Ta!
— Methodset_Ta!(value, val)
Set AVRTypeI Ta.
PowerSystems.set_Ta!
— Methodset_Ta!(value, val)
Set VirtualInertia Ta.
PowerSystems.set_Tc!
— Methodset_Tc!(value, val)
Set TGTypeI Tc.
PowerSystems.set_Td0_p!
— Methodset_Td0_p!(value, val)
Set AndersonFouadMachine Td0_p.
PowerSystems.set_Td0_p!
— Methodset_Td0_p!(value, val)
Set MarconatoMachine Td0_p.
PowerSystems.set_Td0_p!
— Methodset_Td0_p!(value, val)
Set OneDOneQMachine Td0_p.
PowerSystems.set_Td0_p!
— Methodset_Td0_p!(value, val)
Set SimpleAFMachine Td0_p.
PowerSystems.set_Td0_p!
— Methodset_Td0_p!(value, val)
Set SimpleMarconatoMachine Td0_p.
PowerSystems.set_Td0_pp!
— Methodset_Td0_pp!(value, val)
Set AndersonFouadMachine Td0_pp.
PowerSystems.set_Td0_pp!
— Methodset_Td0_pp!(value, val)
Set MarconatoMachine Td0_pp.
PowerSystems.set_Td0_pp!
— Methodset_Td0_pp!(value, val)
Set SimpleAFMachine Td0_pp.
PowerSystems.set_Td0_pp!
— Methodset_Td0_pp!(value, val)
Set SimpleMarconatoMachine Td0_pp.
PowerSystems.set_Te!
— Methodset_Te!(value, val)
Set AVRTypeI Te.
PowerSystems.set_Te!
— Methodset_Te!(value, val)
Set AVRTypeII Te.
PowerSystems.set_Tf!
— Methodset_Tf!(value, val)
Set AVRTypeI Tf.
PowerSystems.set_Tq0_p!
— Methodset_Tq0_p!(value, val)
Set AndersonFouadMachine Tq0_p.
PowerSystems.set_Tq0_p!
— Methodset_Tq0_p!(value, val)
Set MarconatoMachine Tq0_p.
PowerSystems.set_Tq0_p!
— Methodset_Tq0_p!(value, val)
Set OneDOneQMachine Tq0_p.
PowerSystems.set_Tq0_p!
— Methodset_Tq0_p!(value, val)
Set SimpleAFMachine Tq0_p.
PowerSystems.set_Tq0_p!
— Methodset_Tq0_p!(value, val)
Set SimpleMarconatoMachine Tq0_p.
PowerSystems.set_Tq0_pp!
— Methodset_Tq0_pp!(value, val)
Set AndersonFouadMachine Tq0_pp.
PowerSystems.set_Tq0_pp!
— Methodset_Tq0_pp!(value, val)
Set MarconatoMachine Tq0_pp.
PowerSystems.set_Tq0_pp!
— Methodset_Tq0_pp!(value, val)
Set SimpleAFMachine Tq0_pp.
PowerSystems.set_Tq0_pp!
— Methodset_Tq0_pp!(value, val)
Set SimpleMarconatoMachine Tq0_pp.
PowerSystems.set_Tr!
— Methodset_Tr!(value, val)
Set AVRTypeI Tr.
PowerSystems.set_Tr!
— Methodset_Tr!(value, val)
Set AVRTypeII Tr.
PowerSystems.set_Ts!
— Methodset_Ts!(value, val)
Set TGTypeI Ts.
PowerSystems.set_V_pss!
— Methodset_V_pss!(value, val)
Set PSSFixed V_pss.
PowerSystems.set_Vr_max!
— Methodset_Vr_max!(value, val)
Set AVRTypeI Vr_max.
PowerSystems.set_Vr_max!
— Methodset_Vr_max!(value, val)
Set AVRTypeII Vr_max.
PowerSystems.set_Vr_min!
— Methodset_Vr_min!(value, val)
Set AVRTypeI Vr_min.
PowerSystems.set_Vr_min!
— Methodset_Vr_min!(value, val)
Set AVRTypeII Vr_min.
PowerSystems.set_X_th!
— Methodset_X_th!(value, val)
Set Source X_th.
PowerSystems.set_Xd!
— Methodset_Xd!(value, val)
Set AndersonFouadMachine Xd.
PowerSystems.set_Xd!
— Methodset_Xd!(value, val)
Set MarconatoMachine Xd.
PowerSystems.set_Xd!
— Methodset_Xd!(value, val)
Set OneDOneQMachine Xd.
PowerSystems.set_Xd!
— Methodset_Xd!(value, val)
Set SimpleAFMachine Xd.
PowerSystems.set_Xd!
— Methodset_Xd!(value, val)
Set SimpleMarconatoMachine Xd.
PowerSystems.set_Xd_p!
— Methodset_Xd_p!(value, val)
Set AndersonFouadMachine Xd_p.
PowerSystems.set_Xd_p!
— Methodset_Xd_p!(value, val)
Set BaseMachine Xd_p.
PowerSystems.set_Xd_p!
— Methodset_Xd_p!(value, val)
Set MarconatoMachine Xd_p.
PowerSystems.set_Xd_p!
— Methodset_Xd_p!(value, val)
Set OneDOneQMachine Xd_p.
PowerSystems.set_Xd_p!
— Methodset_Xd_p!(value, val)
Set SimpleAFMachine Xd_p.
PowerSystems.set_Xd_p!
— Methodset_Xd_p!(value, val)
Set SimpleMarconatoMachine Xd_p.
PowerSystems.set_Xd_pp!
— Methodset_Xd_pp!(value, val)
Set AndersonFouadMachine Xd_pp.
PowerSystems.set_Xd_pp!
— Methodset_Xd_pp!(value, val)
Set MarconatoMachine Xd_pp.
PowerSystems.set_Xd_pp!
— Methodset_Xd_pp!(value, val)
Set SimpleAFMachine Xd_pp.
PowerSystems.set_Xd_pp!
— Methodset_Xd_pp!(value, val)
Set SimpleMarconatoMachine Xd_pp.
PowerSystems.set_Xq!
— Methodset_Xq!(value, val)
Set AndersonFouadMachine Xq.
PowerSystems.set_Xq!
— Methodset_Xq!(value, val)
Set MarconatoMachine Xq.
PowerSystems.set_Xq!
— Methodset_Xq!(value, val)
Set OneDOneQMachine Xq.
PowerSystems.set_Xq!
— Methodset_Xq!(value, val)
Set SimpleAFMachine Xq.
PowerSystems.set_Xq!
— Methodset_Xq!(value, val)
Set SimpleMarconatoMachine Xq.
PowerSystems.set_Xq_p!
— Methodset_Xq_p!(value, val)
Set AndersonFouadMachine Xq_p.
PowerSystems.set_Xq_p!
— Methodset_Xq_p!(value, val)
Set MarconatoMachine Xq_p.
PowerSystems.set_Xq_p!
— Methodset_Xq_p!(value, val)
Set OneDOneQMachine Xq_p.
PowerSystems.set_Xq_p!
— Methodset_Xq_p!(value, val)
Set SimpleAFMachine Xq_p.
PowerSystems.set_Xq_p!
— Methodset_Xq_p!(value, val)
Set SimpleMarconatoMachine Xq_p.
PowerSystems.set_Xq_pp!
— Methodset_Xq_pp!(value, val)
Set AndersonFouadMachine Xq_pp.
PowerSystems.set_Xq_pp!
— Methodset_Xq_pp!(value, val)
Set MarconatoMachine Xq_pp.
PowerSystems.set_Xq_pp!
— Methodset_Xq_pp!(value, val)
Set SimpleAFMachine Xq_pp.
PowerSystems.set_Xq_pp!
— Methodset_Xq_pp!(value, val)
Set SimpleMarconatoMachine Xq_pp.
PowerSystems.set_Y!
— Methodset_Y!(value, val)
Set FixedAdmittance Y.
PowerSystems.set_activepower!
— Methodset_activepower!(value, val)
Set GenericBattery activepower.
PowerSystems.set_activepower!
— Methodset_activepower!(value, val)
Set HydroDispatch activepower.
PowerSystems.set_activepower!
— Methodset_activepower!(value, val)
Set HydroEnergyReservoir activepower.
PowerSystems.set_activepower!
— Methodset_activepower!(value, val)
Set InterruptibleLoad activepower.
PowerSystems.set_activepower!
— Methodset_activepower!(value, val)
Set PowerLoad activepower.
PowerSystems.set_activepower!
— Methodset_activepower!(value, val)
Set RenewableDispatch activepower.
PowerSystems.set_activepower!
— Methodset_activepower!(value, val)
Set RenewableFix activepower.
PowerSystems.set_activepower!
— Methodset_activepower!(value, val)
Set Source activepower.
PowerSystems.set_activepower!
— Methodset_activepower!(value, val)
Set ThermalStandard activepower.
PowerSystems.set_activepower_flow!
— Methodset_activepower_flow!(value, val)
Set HVDCLine activepower_flow.
PowerSystems.set_activepower_flow!
— Methodset_activepower_flow!(value, val)
Set Line activepower_flow.
PowerSystems.set_activepower_flow!
— Methodset_activepower_flow!(value, val)
Set MonitoredLine activepower_flow.
PowerSystems.set_activepower_flow!
— Methodset_activepower_flow!(value, val)
Set PhaseShiftingTransformer activepower_flow.
PowerSystems.set_activepower_flow!
— Methodset_activepower_flow!(value, val)
Set TapTransformer activepower_flow.
PowerSystems.set_activepower_flow!
— Methodset_activepower_flow!(value, val)
Set Transformer2W activepower_flow.
PowerSystems.set_activepower_flow!
— Methodset_activepower_flow!(value, val)
Set VSCDCLine activepower_flow.
PowerSystems.set_activepowerlimits!
— Methodset_activepowerlimits!(value, val)
Set HydroDispatch activepowerlimits.
PowerSystems.set_activepowerlimits!
— Methodset_activepowerlimits!(value, val)
Set HydroEnergyReservoir activepowerlimits.
PowerSystems.set_activepowerlimits!
— Methodset_activepowerlimits!(value, val)
Set ThermalStandard activepowerlimits.
PowerSystems.set_activepowerlimits_from!
— Methodset_activepowerlimits_from!(value, val)
Set HVDCLine activepowerlimits_from.
PowerSystems.set_activepowerlimits_to!
— Methodset_activepowerlimits_to!(value, val)
Set HVDCLine activepowerlimits_to.
PowerSystems.set_angle!
— Methodset_angle!(value, val)
Set Bus angle.
PowerSystems.set_anglelimits!
— Methodset_anglelimits!(value, val)
Set Line anglelimits.
PowerSystems.set_anglelimits!
— Methodset_anglelimits!(value, val)
Set MonitoredLine anglelimits.
PowerSystems.set_arc!
— Methodset_arc!(value, val)
Set HVDCLine arc.
PowerSystems.set_arc!
— Methodset_arc!(value, val)
Set Line arc.
PowerSystems.set_arc!
— Methodset_arc!(value, val)
Set MonitoredLine arc.
PowerSystems.set_arc!
— Methodset_arc!(value, val)
Set PhaseShiftingTransformer arc.
PowerSystems.set_arc!
— Methodset_arc!(value, val)
Set TapTransformer arc.
PowerSystems.set_arc!
— Methodset_arc!(value, val)
Set Transformer2W arc.
PowerSystems.set_arc!
— Methodset_arc!(value, val)
Set VSCDCLine arc.
PowerSystems.set_available!
— Methodset_available!(value, val)
Set AGC available.
PowerSystems.set_available!
— Methodset_available!(value, val)
Set FixedAdmittance available.
PowerSystems.set_available!
— Methodset_available!(value, val)
Set GenericBattery available.
PowerSystems.set_available!
— Methodset_available!(value, val)
Set HVDCLine available.
PowerSystems.set_available!
— Methodset_available!(value, val)
Set HydroDispatch available.
PowerSystems.set_available!
— Methodset_available!(value, val)
Set HydroEnergyReservoir available.
PowerSystems.set_available!
— Methodset_available!(value, val)
Set InterruptibleLoad available.
PowerSystems.set_available!
— Methodset_available!(value, val)
Set Line available.
PowerSystems.set_available!
— Methodset_available!(value, val)
Set MonitoredLine available.
PowerSystems.set_available!
— Methodset_available!(value, val)
Set PhaseShiftingTransformer available.
PowerSystems.set_available!
— Methodset_available!(value, val)
Set PowerLoad available.
PowerSystems.set_available!
— Methodset_available!(value, val)
Set RenewableDispatch available.
PowerSystems.set_available!
— Methodset_available!(value, val)
Set RenewableFix available.
PowerSystems.set_available!
— Methodset_available!(value, val)
Set ReserveDemandCurve available.
PowerSystems.set_available!
— Methodset_available!(value, val)
Set Source available.
PowerSystems.set_available!
— Methodset_available!(value, val)
Set StaticReserve available.
PowerSystems.set_available!
— Methodset_available!(value, val)
Set TapTransformer available.
PowerSystems.set_available!
— Methodset_available!(value, val)
Set ThermalStandard available.
PowerSystems.set_available!
— Methodset_available!(value, val)
Set Transfer available.
PowerSystems.set_available!
— Methodset_available!(value, val)
Set Transformer2W available.
PowerSystems.set_available!
— Methodset_available!(value, val)
Set VSCDCLine available.
PowerSystems.set_available!
— Methodset_available!(value, val)
Set VariableReserve available.
PowerSystems.set_b!
— Methodset_b!(value, val)
Set Line b.
PowerSystems.set_b!
— Methodset_b!(value, val)
Set MonitoredLine b.
PowerSystems.set_basevoltage!
— Methodset_basevoltage!(value, val)
Set Bus basevoltage.
PowerSystems.set_bias!
— Methodset_bias!(value, val)
Set AGC bias.
PowerSystems.set_bus!
— Methodset_bus!(value, val)
Set FixedAdmittance bus.
PowerSystems.set_bus!
— Methodset_bus!(value, val)
Set GenericBattery bus.
PowerSystems.set_bus!
— Methodset_bus!(value, val)
Set HydroDispatch bus.
PowerSystems.set_bus!
— Methodset_bus!(value, val)
Set HydroEnergyReservoir bus.
PowerSystems.set_bus!
— Methodset_bus!(value, val)
Set InterruptibleLoad bus.
PowerSystems.set_bus!
— Methodset_bus!(value, val)
Set PowerLoad bus.
PowerSystems.set_bus!
— Methodset_bus!(value, val)
Set RenewableDispatch bus.
PowerSystems.set_bus!
— Methodset_bus!(value, val)
Set RenewableFix bus.
PowerSystems.set_bus!
— Methodset_bus!(value, val)
Set Source bus.
PowerSystems.set_bus!
— Methodset_bus!(value, val)
Set ThermalStandard bus.
PowerSystems.set_bustype!
— Methodset_bustype!(value, val)
Set Bus bustype.
PowerSystems.set_capacity!
— Methodset_capacity!(value, val)
Set GenericBattery capacity.
PowerSystems.set_cf!
— Methodset_cf!(value, val)
Set LCLFilter cf.
PowerSystems.set_cf!
— Methodset_cf!(value, val)
Set LCFilter cf.
PowerSystems.set_delta_t!
— Methodset_delta_t!(value, val)
Set AGC delta_t.
PowerSystems.set_efficiency!
— Methodset_efficiency!(value, val)
Set GenericBattery efficiency.
PowerSystems.set_efficiency!
— Methodset_efficiency!(value, val)
Set TGFixed efficiency.
PowerSystems.set_energy!
— Methodset_energy!(value, val)
Set GenericBattery energy.
PowerSystems.set_eq_p!
— Methodset_eq_p!(value, val)
Set BaseMachine eq_p.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set AGC ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set AVRFixed ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set AVRSimple ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set AVRTypeI ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set AVRTypeII ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set AndersonFouadMachine ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set AverageConverter ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set BaseMachine ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set Bus ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set CurrentControl ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set FiveMassShaft ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set FixedAdmittance ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set FixedDCSource ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set FullMachine ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set GenericBattery ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set HVDCLine ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set HydroDispatch ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set HydroEnergyReservoir ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set InterruptibleLoad ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set KauraPLL ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set LCLFilter ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set Line ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set MarconatoMachine ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set MonitoredLine ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set OneDOneQMachine ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set PSSFixed ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set PhaseShiftingTransformer ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set PowerLoad ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set LCFilter ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set PSSSimple ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set ReactivePowerDroop ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set RenewableDispatch ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set RenewableFix ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set ReserveDemandCurve ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set SimpleAFMachine ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set SimpleFullMachine ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set SimpleMarconatoMachine ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set SingleMass ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set Source ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set StaticReserve ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set TGFixed ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set TGTypeI ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set TGTypeII ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set TapTransformer ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set ThermalStandard ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set Transfer ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set Transformer2W ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set VSCDCLine ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set VariableReserve ext.
PowerSystems.set_ext!
— Methodset_ext!(value, val)
Set VirtualInertia ext.
PowerSystems.set_fixed!
— Methodset_fixed!(value, val)
Set ThreePartCost fixed.
PowerSystems.set_fixed!
— Methodset_fixed!(value, val)
Set TwoPartCost fixed.
PowerSystems.set_flowlimits!
— Methodset_flowlimits!(value, val)
Set MonitoredLine flowlimits.
PowerSystems.set_from!
— Methodset_from!(value, val)
Set Arc from.
PowerSystems.set_fuel!
— Methodset_fuel!(value, val)
Set ThermalStandard fuel.
PowerSystems.set_inflow!
— Methodset_inflow!(value, val)
Set HydroEnergyReservoir inflow.
PowerSystems.set_initial_storage!
— Methodset_initial_storage!(value, val)
Set HydroEnergyReservoir initial_storage.
PowerSystems.set_inputactivepowerlimits!
— Methodset_inputactivepowerlimits!(value, val)
Set GenericBattery inputactivepowerlimits.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set AGC internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set AVRFixed internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set AVRSimple internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set AVRTypeI internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set AVRTypeII internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set AndersonFouadMachine internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set Arc internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set Area internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set BaseMachine internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set Bus internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set FiveMassShaft internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set FixedAdmittance internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set FixedDCSource internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set FullMachine internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set GenericBattery internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set HVDCLine internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set HydroDispatch internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set HydroEnergyReservoir internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set InterruptibleLoad internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set Line internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set LoadZone internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set MarconatoMachine internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set MonitoredLine internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set OneDOneQMachine internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set PSSFixed internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set PhaseShiftingTransformer internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set PowerLoad internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set PSSSimple internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set RenewableDispatch internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set RenewableFix internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set ReserveDemandCurve internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set SimpleAFMachine internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set SimpleFullMachine internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set SimpleMarconatoMachine internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set SingleMass internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set Source internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set StaticReserve internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set TGFixed internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set TGTypeI internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set TGTypeII internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set TapTransformer internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set ThermalStandard internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set ThreePartCost internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set Transfer internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set Transformer2W internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set TwoPartCost internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set VSCDCLine internal.
PowerSystems.set_internal!
— Methodset_internal!(value, val)
Set VariableReserve internal.
PowerSystems.set_inv_d_fluxlink!
— Methodset_inv_d_fluxlink!(value, val)
Set FullMachine invdfluxlink.
PowerSystems.set_inv_d_fluxlink!
— Methodset_inv_d_fluxlink!(value, val)
Set SimpleFullMachine invdfluxlink.
PowerSystems.set_inv_q_fluxlink!
— Methodset_inv_q_fluxlink!(value, val)
Set FullMachine invqfluxlink.
PowerSystems.set_inv_q_fluxlink!
— Methodset_inv_q_fluxlink!(value, val)
Set SimpleFullMachine invqfluxlink.
PowerSystems.set_inverter_firing_angle!
— Methodset_inverter_firing_angle!(value, val)
Set VSCDCLine inverterfiringangle.
PowerSystems.set_inverter_taplimits!
— Methodset_inverter_taplimits!(value, val)
Set VSCDCLine inverter_taplimits.
PowerSystems.set_inverter_xrc!
— Methodset_inverter_xrc!(value, val)
Set VSCDCLine inverter_xrc.
PowerSystems.set_kad!
— Methodset_kad!(value, val)
Set CurrentControl kad.
PowerSystems.set_kd!
— Methodset_kd!(value, val)
Set VirtualInertia kd.
PowerSystems.set_kffi!
— Methodset_kffi!(value, val)
Set CurrentControl kffi.
PowerSystems.set_kffv!
— Methodset_kffv!(value, val)
Set CurrentControl kffv.
PowerSystems.set_ki_pll!
— Methodset_ki_pll!(value, val)
Set KauraPLL ki_pll.
PowerSystems.set_kic!
— Methodset_kic!(value, val)
Set CurrentControl kic.
PowerSystems.set_kiv!
— Methodset_kiv!(value, val)
Set CurrentControl kiv.
PowerSystems.set_kp_pll!
— Methodset_kp_pll!(value, val)
Set KauraPLL kp_pll.
PowerSystems.set_kpc!
— Methodset_kpc!(value, val)
Set CurrentControl kpc.
PowerSystems.set_kpv!
— Methodset_kpv!(value, val)
Set CurrentControl kpv.
PowerSystems.set_kq!
— Methodset_kq!(value, val)
Set ReactivePowerDroop kq.
PowerSystems.set_kω!
— Methodset_kω!(value, val)
Set VirtualInertia kω.
PowerSystems.set_lf!
— Methodset_lf!(value, val)
Set LCLFilter lf.
PowerSystems.set_lf!
— Methodset_lf!(value, val)
Set LCFilter lf.
PowerSystems.set_lg!
— Methodset_lg!(value, val)
Set LCLFilter lg.
PowerSystems.set_loss!
— Methodset_loss!(value, val)
Set HVDCLine loss.
PowerSystems.set_lv!
— Methodset_lv!(value, val)
Set CurrentControl lv.
PowerSystems.set_maxactivepower!
— Methodset_maxactivepower!(value, val)
Set Area maxactivepower.
PowerSystems.set_maxactivepower!
— Methodset_maxactivepower!(value, val)
Set InterruptibleLoad maxactivepower.
PowerSystems.set_maxactivepower!
— Methodset_maxactivepower!(value, val)
Set LoadZone maxactivepower.
PowerSystems.set_maxactivepower!
— Methodset_maxactivepower!(value, val)
Set PowerLoad maxactivepower.
PowerSystems.set_maxreactivepower!
— Methodset_maxreactivepower!(value, val)
Set Area maxreactivepower.
PowerSystems.set_maxreactivepower!
— Methodset_maxreactivepower!(value, val)
Set InterruptibleLoad maxreactivepower.
PowerSystems.set_maxreactivepower!
— Methodset_maxreactivepower!(value, val)
Set LoadZone maxreactivepower.
PowerSystems.set_maxreactivepower!
— Methodset_maxreactivepower!(value, val)
Set PowerLoad maxreactivepower.
PowerSystems.set_model!
— Methodset_model!(value, val)
Set InterruptibleLoad model.
PowerSystems.set_model!
— Methodset_model!(value, val)
Set PowerLoad model.
PowerSystems.set_n_states!
— Methodset_n_states!(value, val)
Set AVRFixed n_states.
PowerSystems.set_n_states!
— Methodset_n_states!(value, val)
Set AVRSimple n_states.
PowerSystems.set_n_states!
— Methodset_n_states!(value, val)
Set AVRTypeI n_states.
PowerSystems.set_n_states!
— Methodset_n_states!(value, val)
Set AVRTypeII n_states.
PowerSystems.set_n_states!
— Methodset_n_states!(value, val)
Set AndersonFouadMachine n_states.
PowerSystems.set_n_states!
— Methodset_n_states!(value, val)
Set AverageConverter n_states.
PowerSystems.set_n_states!
— Methodset_n_states!(value, val)
Set BaseMachine n_states.
PowerSystems.set_n_states!
— Methodset_n_states!(value, val)
Set CurrentControl n_states.
PowerSystems.set_n_states!
— Methodset_n_states!(value, val)
Set FiveMassShaft n_states.
PowerSystems.set_n_states!
— Methodset_n_states!(value, val)
Set FixedDCSource n_states.
PowerSystems.set_n_states!
— Methodset_n_states!(value, val)
Set FullMachine n_states.
PowerSystems.set_n_states!
— Methodset_n_states!(value, val)
Set KauraPLL n_states.
PowerSystems.set_n_states!
— Methodset_n_states!(value, val)
Set LCLFilter n_states.
PowerSystems.set_n_states!
— Methodset_n_states!(value, val)
Set MarconatoMachine n_states.
PowerSystems.set_n_states!
— Methodset_n_states!(value, val)
Set OneDOneQMachine n_states.
PowerSystems.set_n_states!
— Methodset_n_states!(value, val)
Set PSSFixed n_states.
PowerSystems.set_n_states!
— Methodset_n_states!(value, val)
Set LCFilter n_states.
PowerSystems.set_n_states!
— Methodset_n_states!(value, val)
Set PSSSimple n_states.
PowerSystems.set_n_states!
— Methodset_n_states!(value, val)
Set ReactivePowerDroop n_states.
PowerSystems.set_n_states!
— Methodset_n_states!(value, val)
Set SimpleAFMachine n_states.
PowerSystems.set_n_states!
— Methodset_n_states!(value, val)
Set SimpleFullMachine n_states.
PowerSystems.set_n_states!
— Methodset_n_states!(value, val)
Set SimpleMarconatoMachine n_states.
PowerSystems.set_n_states!
— Methodset_n_states!(value, val)
Set SingleMass n_states.
PowerSystems.set_n_states!
— Methodset_n_states!(value, val)
Set TGFixed n_states.
PowerSystems.set_n_states!
— Methodset_n_states!(value, val)
Set TGTypeI n_states.
PowerSystems.set_n_states!
— Methodset_n_states!(value, val)
Set TGTypeII n_states.
PowerSystems.set_n_states!
— Methodset_n_states!(value, val)
Set VirtualInertia n_states.
PowerSystems.set_number!
— Methodset_number!(value, val)
Set Bus number.
PowerSystems.set_op_cost!
— Methodset_op_cost!(value, val)
Set HydroEnergyReservoir op_cost.
PowerSystems.set_op_cost!
— Methodset_op_cost!(value, val)
Set InterruptibleLoad op_cost.
PowerSystems.set_op_cost!
— Methodset_op_cost!(value, val)
Set RenewableDispatch op_cost.
PowerSystems.set_op_cost!
— Methodset_op_cost!(value, val)
Set ReserveDemandCurve op_cost.
PowerSystems.set_op_cost!
— Methodset_op_cost!(value, val)
Set ThermalStandard op_cost.
PowerSystems.set_outputactivepowerlimits!
— Methodset_outputactivepowerlimits!(value, val)
Set GenericBattery outputactivepowerlimits.
PowerSystems.set_participation_factor!
— Methodset_participation_factor!(value, val)
Set ThermalStandard participation_factor.
PowerSystems.set_powerfactor!
— Methodset_powerfactor!(value, val)
Set RenewableDispatch powerfactor.
PowerSystems.set_powerfactor!
— Methodset_powerfactor!(value, val)
Set RenewableFix powerfactor.
PowerSystems.set_primaryshunt!
— Methodset_primaryshunt!(value, val)
Set PhaseShiftingTransformer primaryshunt.
PowerSystems.set_primaryshunt!
— Methodset_primaryshunt!(value, val)
Set TapTransformer primaryshunt.
PowerSystems.set_primaryshunt!
— Methodset_primaryshunt!(value, val)
Set Transformer2W primaryshunt.
PowerSystems.set_primemover!
— Methodset_primemover!(value, val)
Set GenericBattery primemover.
PowerSystems.set_primemover!
— Methodset_primemover!(value, val)
Set HydroDispatch primemover.
PowerSystems.set_primemover!
— Methodset_primemover!(value, val)
Set HydroEnergyReservoir primemover.
PowerSystems.set_primemover!
— Methodset_primemover!(value, val)
Set RenewableDispatch primemover.
PowerSystems.set_primemover!
— Methodset_primemover!(value, val)
Set RenewableFix primemover.
PowerSystems.set_primemover!
— Methodset_primemover!(value, val)
Set ThermalStandard primemover.
PowerSystems.set_r!
— Methodset_r!(value, val)
Set Line r.
PowerSystems.set_r!
— Methodset_r!(value, val)
Set MonitoredLine r.
PowerSystems.set_r!
— Methodset_r!(value, val)
Set PhaseShiftingTransformer r.
PowerSystems.set_r!
— Methodset_r!(value, val)
Set TapTransformer r.
PowerSystems.set_r!
— Methodset_r!(value, val)
Set Transformer2W r.
PowerSystems.set_ramplimits!
— Methodset_ramplimits!(value, val)
Set HydroDispatch ramplimits.
PowerSystems.set_ramplimits!
— Methodset_ramplimits!(value, val)
Set HydroEnergyReservoir ramplimits.
PowerSystems.set_ramplimits!
— Methodset_ramplimits!(value, val)
Set ThermalStandard ramplimits.
PowerSystems.set_rate!
— Methodset_rate!(value, val)
Set Line rate.
PowerSystems.set_rate!
— Methodset_rate!(value, val)
Set MonitoredLine rate.
PowerSystems.set_rate!
— Methodset_rate!(value, val)
Set PhaseShiftingTransformer rate.
PowerSystems.set_rate!
— Methodset_rate!(value, val)
Set TapTransformer rate.
PowerSystems.set_rate!
— Methodset_rate!(value, val)
Set Transformer2W rate.
PowerSystems.set_rating!
— Methodset_rating!(value, val)
Set GenericBattery rating.
PowerSystems.set_rating!
— Methodset_rating!(value, val)
Set HydroDispatch rating.
PowerSystems.set_rating!
— Methodset_rating!(value, val)
Set HydroEnergyReservoir rating.
PowerSystems.set_rating!
— Methodset_rating!(value, val)
Set RenewableDispatch rating.
PowerSystems.set_rating!
— Methodset_rating!(value, val)
Set RenewableFix rating.
PowerSystems.set_rating!
— Methodset_rating!(value, val)
Set ThermalStandard rating.
PowerSystems.set_reactivepower!
— Methodset_reactivepower!(value, val)
Set GenericBattery reactivepower.
PowerSystems.set_reactivepower!
— Methodset_reactivepower!(value, val)
Set HydroDispatch reactivepower.
PowerSystems.set_reactivepower!
— Methodset_reactivepower!(value, val)
Set HydroEnergyReservoir reactivepower.
PowerSystems.set_reactivepower!
— Methodset_reactivepower!(value, val)
Set InterruptibleLoad reactivepower.
PowerSystems.set_reactivepower!
— Methodset_reactivepower!(value, val)
Set PowerLoad reactivepower.
PowerSystems.set_reactivepower!
— Methodset_reactivepower!(value, val)
Set RenewableDispatch reactivepower.
PowerSystems.set_reactivepower!
— Methodset_reactivepower!(value, val)
Set RenewableFix reactivepower.
PowerSystems.set_reactivepower!
— Methodset_reactivepower!(value, val)
Set Source reactivepower.
PowerSystems.set_reactivepower!
— Methodset_reactivepower!(value, val)
Set ThermalStandard reactivepower.
PowerSystems.set_reactivepower_flow!
— Methodset_reactivepower_flow!(value, val)
Set Line reactivepower_flow.
PowerSystems.set_reactivepower_flow!
— Methodset_reactivepower_flow!(value, val)
Set MonitoredLine reactivepower_flow.
PowerSystems.set_reactivepower_flow!
— Methodset_reactivepower_flow!(value, val)
Set PhaseShiftingTransformer reactivepower_flow.
PowerSystems.set_reactivepower_flow!
— Methodset_reactivepower_flow!(value, val)
Set TapTransformer reactivepower_flow.
PowerSystems.set_reactivepower_flow!
— Methodset_reactivepower_flow!(value, val)
Set Transformer2W reactivepower_flow.
PowerSystems.set_reactivepowerlimits!
— Methodset_reactivepowerlimits!(value, val)
Set GenericBattery reactivepowerlimits.
PowerSystems.set_reactivepowerlimits!
— Methodset_reactivepowerlimits!(value, val)
Set HydroDispatch reactivepowerlimits.
PowerSystems.set_reactivepowerlimits!
— Methodset_reactivepowerlimits!(value, val)
Set HydroEnergyReservoir reactivepowerlimits.
PowerSystems.set_reactivepowerlimits!
— Methodset_reactivepowerlimits!(value, val)
Set RenewableDispatch reactivepowerlimits.
PowerSystems.set_reactivepowerlimits!
— Methodset_reactivepowerlimits!(value, val)
Set ThermalStandard reactivepowerlimits.
PowerSystems.set_reactivepowerlimits_from!
— Methodset_reactivepowerlimits_from!(value, val)
Set HVDCLine reactivepowerlimits_from.
PowerSystems.set_reactivepowerlimits_to!
— Methodset_reactivepowerlimits_to!(value, val)
Set HVDCLine reactivepowerlimits_to.
PowerSystems.set_rectifier_firing_angle!
— Methodset_rectifier_firing_angle!(value, val)
Set VSCDCLine rectifierfiringangle.
PowerSystems.set_rectifier_taplimits!
— Methodset_rectifier_taplimits!(value, val)
Set VSCDCLine rectifier_taplimits.
PowerSystems.set_rectifier_xrc!
— Methodset_rectifier_xrc!(value, val)
Set VSCDCLine rectifier_xrc.
PowerSystems.set_requirement!
— Methodset_requirement!(value, val)
Set StaticReserve requirement.
PowerSystems.set_requirement!
— Methodset_requirement!(value, val)
Set Transfer requirement.
PowerSystems.set_requirement!
— Methodset_requirement!(value, val)
Set VariableReserve requirement.
PowerSystems.set_rf!
— Methodset_rf!(value, val)
Set LCLFilter rf.
PowerSystems.set_rf!
— Methodset_rf!(value, val)
Set LCFilter rf.
PowerSystems.set_rg!
— Methodset_rg!(value, val)
Set LCLFilter rg.
PowerSystems.set_rv!
— Methodset_rv!(value, val)
Set CurrentControl rv.
PowerSystems.set_s_rated!
— Methodset_s_rated!(value, val)
Set AverageConverter s_rated.
PowerSystems.set_services!
— Methodset_services!(value, val)
Set FixedAdmittance services.
PowerSystems.set_services!
— Methodset_services!(value, val)
Set GenericBattery services.
PowerSystems.set_services!
— Methodset_services!(value, val)
Set HVDCLine services.
PowerSystems.set_services!
— Methodset_services!(value, val)
Set HydroDispatch services.
PowerSystems.set_services!
— Methodset_services!(value, val)
Set HydroEnergyReservoir services.
PowerSystems.set_services!
— Methodset_services!(value, val)
Set InterruptibleLoad services.
PowerSystems.set_services!
— Methodset_services!(value, val)
Set Line services.
PowerSystems.set_services!
— Methodset_services!(value, val)
Set MonitoredLine services.
PowerSystems.set_services!
— Methodset_services!(value, val)
Set PhaseShiftingTransformer services.
PowerSystems.set_services!
— Methodset_services!(value, val)
Set PowerLoad services.
PowerSystems.set_services!
— Methodset_services!(value, val)
Set RenewableDispatch services.
PowerSystems.set_services!
— Methodset_services!(value, val)
Set RenewableFix services.
PowerSystems.set_services!
— Methodset_services!(value, val)
Set Source services.
PowerSystems.set_services!
— Methodset_services!(value, val)
Set TapTransformer services.
PowerSystems.set_services!
— Methodset_services!(value, val)
Set ThermalStandard services.
PowerSystems.set_services!
— Methodset_services!(value, val)
Set Transformer2W services.
PowerSystems.set_services!
— Methodset_services!(value, val)
Set VSCDCLine services.
PowerSystems.set_shutdn!
— Methodset_shutdn!(value, val)
Set ThreePartCost shutdn.
PowerSystems.set_startup!
— Methodset_startup!(value, val)
Set ThreePartCost startup.
PowerSystems.set_states!
— Methodset_states!(value, val)
Set AVRFixed states.
PowerSystems.set_states!
— Methodset_states!(value, val)
Set AVRSimple states.
PowerSystems.set_states!
— Methodset_states!(value, val)
Set AVRTypeI states.
PowerSystems.set_states!
— Methodset_states!(value, val)
Set AVRTypeII states.
PowerSystems.set_states!
— Methodset_states!(value, val)
Set AndersonFouadMachine states.
PowerSystems.set_states!
— Methodset_states!(value, val)
Set AverageConverter states.
PowerSystems.set_states!
— Methodset_states!(value, val)
Set BaseMachine states.
PowerSystems.set_states!
— Methodset_states!(value, val)
Set CurrentControl states.
PowerSystems.set_states!
— Methodset_states!(value, val)
Set FiveMassShaft states.
PowerSystems.set_states!
— Methodset_states!(value, val)
Set FixedDCSource states.
PowerSystems.set_states!
— Methodset_states!(value, val)
Set FullMachine states.
PowerSystems.set_states!
— Methodset_states!(value, val)
Set KauraPLL states.
PowerSystems.set_states!
— Methodset_states!(value, val)
Set LCLFilter states.
PowerSystems.set_states!
— Methodset_states!(value, val)
Set MarconatoMachine states.
PowerSystems.set_states!
— Methodset_states!(value, val)
Set OneDOneQMachine states.
PowerSystems.set_states!
— Methodset_states!(value, val)
Set PSSFixed states.
PowerSystems.set_states!
— Methodset_states!(value, val)
Set LCFilter states.
PowerSystems.set_states!
— Methodset_states!(value, val)
Set PSSSimple states.
PowerSystems.set_states!
— Methodset_states!(value, val)
Set ReactivePowerDroop states.
PowerSystems.set_states!
— Methodset_states!(value, val)
Set SimpleAFMachine states.
PowerSystems.set_states!
— Methodset_states!(value, val)
Set SimpleFullMachine states.
PowerSystems.set_states!
— Methodset_states!(value, val)
Set SimpleMarconatoMachine states.
PowerSystems.set_states!
— Methodset_states!(value, val)
Set SingleMass states.
PowerSystems.set_states!
— Methodset_states!(value, val)
Set TGFixed states.
PowerSystems.set_states!
— Methodset_states!(value, val)
Set TGTypeI states.
PowerSystems.set_states!
— Methodset_states!(value, val)
Set TGTypeII states.
PowerSystems.set_states!
— Methodset_states!(value, val)
Set VirtualInertia states.
PowerSystems.set_status!
— Methodset_status!(value, val)
Set ThermalStandard status.
PowerSystems.set_storage_capacity!
— Methodset_storage_capacity!(value, val)
Set HydroEnergyReservoir storage_capacity.
PowerSystems.set_tap!
— Methodset_tap!(value, val)
Set PhaseShiftingTransformer tap.
PowerSystems.set_tap!
— Methodset_tap!(value, val)
Set TapTransformer tap.
PowerSystems.set_time_at_status!
— Methodset_time_at_status!(value, val)
Set ThermalStandard timeatstatus.
PowerSystems.set_timeframe!
— Methodset_timeframe!(value, val)
Set ReserveDemandCurve timeframe.
PowerSystems.set_timeframe!
— Methodset_timeframe!(value, val)
Set StaticReserve timeframe.
PowerSystems.set_timeframe!
— Methodset_timeframe!(value, val)
Set VariableReserve timeframe.
PowerSystems.set_timelimits!
— Methodset_timelimits!(value, val)
Set HydroDispatch timelimits.
PowerSystems.set_timelimits!
— Methodset_timelimits!(value, val)
Set HydroEnergyReservoir timelimits.
PowerSystems.set_timelimits!
— Methodset_timelimits!(value, val)
Set ThermalStandard timelimits.
PowerSystems.set_to!
— Methodset_to!(value, val)
Set Arc to.
PowerSystems.set_v_rated!
— Methodset_v_rated!(value, val)
Set AverageConverter v_rated.
PowerSystems.set_variable!
— Methodset_variable!(value, val)
Set ThreePartCost variable.
PowerSystems.set_variable!
— Methodset_variable!(value, val)
Set TwoPartCost variable.
PowerSystems.set_voltage!
— Methodset_voltage!(value, val)
Set Bus voltage.
PowerSystems.set_voltage!
— Methodset_voltage!(value, val)
Set FixedDCSource voltage.
PowerSystems.set_voltagelimits!
— Methodset_voltagelimits!(value, val)
Set Bus voltagelimits.
PowerSystems.set_x!
— Methodset_x!(value, val)
Set Line x.
PowerSystems.set_x!
— Methodset_x!(value, val)
Set MonitoredLine x.
PowerSystems.set_x!
— Methodset_x!(value, val)
Set PhaseShiftingTransformer x.
PowerSystems.set_x!
— Methodset_x!(value, val)
Set TapTransformer x.
PowerSystems.set_x!
— Methodset_x!(value, val)
Set Transformer2W x.
PowerSystems.set_α!
— Methodset_α!(value, val)
Set PhaseShiftingTransformer α.
PowerSystems.set_γd!
— Methodset_γd!(value, val)
Set MarconatoMachine γd.
PowerSystems.set_γd!
— Methodset_γd!(value, val)
Set SimpleMarconatoMachine γd.
PowerSystems.set_γq!
— Methodset_γq!(value, val)
Set MarconatoMachine γq.
PowerSystems.set_γq!
— Methodset_γq!(value, val)
Set SimpleMarconatoMachine γq.
PowerSystems.set_τ_max!
— Methodset_τ_max!(value, val)
Set TGTypeII τ_max.
PowerSystems.set_τ_min!
— Methodset_τ_min!(value, val)
Set TGTypeII τ_min.
PowerSystems.set_ω_lp!
— Methodset_ω_lp!(value, val)
Set KauraPLL ω_lp.
PowerSystems.set_ωad!
— Methodset_ωad!(value, val)
Set CurrentControl ωad.
PowerSystems.set_ωb!
— Methodset_ωb!(value, val)
Set VirtualInertia ωb.
PowerSystems.set_ωf!
— Methodset_ωf!(value, val)
Set ReactivePowerDroop ωf.
PowerSystems.simplify_cost_terms!
— Methodsimplify_cost_terms!(data)
trims zeros from higher order cost terms
PowerSystems.split_line
— Methodsplit_line(mp_line)
PowerSystems.standardize_cost_terms!
— Methodstandardize_cost_terms!(data; order)
ensures all polynomial costs functions have the same number of terms
PowerSystems.total_capacity_rating
— Methodtotal_capacity_rating(sys)
total_capacity_rating(sys::System)
Sum of system generator and storage ratings.
Arguments
sys::System
: system
PowerSystems.total_load_rating
— Methodtotal_load_rating(sys)
total_load_rating(sys::System)
Checks the system for sum(generator ratings) >= sum(load ratings).
Arguments
sys::System
: system
PowerSystems.validate_struct
— Methodvalidate_struct(sys, value)
validate_struct(sys::System, value::PowerSystemType)
Validate an instance of a PowerSystemType against System data. Returns true if the instance is valid.
Users implementing this function for custom types should consider implementing InfrastructureSystems.validate_struct instead if the validation logic only requires data contained within the instance.