RenewableDispatch
PowerSystems.RenewableDispatch — Typemutable struct RenewableDispatch <: RenewableGen
name::String
available::Bool
bus::ACBus
active_power::Float64
reactive_power::Float64
rating::Float64
prime_mover_type::PrimeMovers
reactive_power_limits::Union{Nothing, MinMax}
power_factor::Float64
operation_cost::Union{RenewableGenerationCost, MarketBidCost}
base_power::Float64
services::Vector{Service}
dynamic_injector::Union{Nothing, DynamicInjection}
ext::Dict{String, Any}
internal::InfrastructureSystemsInternal
endA renewable (e.g., wind or solar) generator whose output can be curtailed to satisfy power system constraints.
These generators can also participate in reserves markets, including upwards reserves by proactively curtailing some available power (based on its max_active_power time series). Example uses include: a utility-scale wind or solar generator whose PPA allows curtailment. For non-curtailable or must-take renewables, see RenewableNonDispatch.
Renewable generators do not have a max_active_power parameter, which is instead calculated when calling get_max_active_power()
Arguments
name::String: Name of the component. Components of the same type (e.g.,PowerLoad) must have unique names, but components of different types (e.g.,PowerLoadandACBus) can have the same nameavailable::Bool: Indicator of whether the component is connected and online (true) or disconnected, offline, or down (false). Unavailable components are excluded during simulationsbus::ACBus: TheACBusthat this component is connected toactive_power::Float64: Initial active power set point of the unit in MW. For power flow, this is the steady state operating point of the system. For production cost modeling, this may or may not be used as the initial starting point for the solver, depending on the solver usedreactive_power::Float64: Initial reactive power set point of the unit (MVAR), used in some production cost modeling simulations. To set the reactive power in a load flow, usepower_factorrating::Float64: Maximum AC side output power rating of the unit. Stored in per unit of the device and not to be confused with base_power, validation range:(0, nothing)prime_mover_type::PrimeMovers: Prime mover technology according to EIA 923. SeePrimeMovers.reactive_power_limits::Union{Nothing, MinMax}: Minimum and maximum reactive power limits, used in some production cost model simulations and in power flow if the unit is connected to aPVbus. Set tonothingif not applicablepower_factor::Float64: Power factor [0, 1] set-point, used in some production cost modeling and in load flow if the unit is connected to aPQbus, validation range:(0, 1)operation_cost::Union{RenewableGenerationCost, MarketBidCost}:OperationalCostof generationbase_power::Float64: Base power of the unit (MVA) for per unitization, validation range:(0.0001, nothing)services::Vector{Service}: (default:Device[]) Services that this device contributes todynamic_injector::Union{Nothing, DynamicInjection}: (default:nothing) corresponding dynamic injection deviceext::Dict{String, Any}: (default:Dict{String, Any}()) An extra dictionary for users to add metadata that are not used in simulation.internal::InfrastructureSystemsInternal: (Do not modify.) PowerSystems.jl internal reference
InfrastructureSystems.get_available — Methodget_available(value::RenewableDispatch) -> Bool
Get RenewableDispatchavailable.
InfrastructureSystems.get_name — Methodget_name(value::RenewableDispatch) -> String
Get RenewableDispatchname.
InfrastructureSystems.set_available! — Methodset_available!(value::RenewableDispatch, val) -> Any
Set RenewableDispatchavailable.
PowerSystems.get_active_power — Methodget_active_power(value::RenewableDispatch) -> Float64
Get RenewableDispatchactive_power.
PowerSystems.get_base_power — Methodget_base_power(value::RenewableDispatch) -> Float64
Get RenewableDispatchbase_power.
PowerSystems.get_bus — Methodget_bus(value::RenewableDispatch) -> ACBus
Get RenewableDispatchbus.
PowerSystems.get_dynamic_injector — Methodget_dynamic_injector(
value::RenewableDispatch
) -> Union{Nothing, DynamicInjection}
Get RenewableDispatchdynamic_injector.
PowerSystems.get_ext — Methodget_ext(value::RenewableDispatch) -> Dict{String, Any}
Get RenewableDispatchext.
PowerSystems.get_operation_cost — Methodget_operation_cost(
value::RenewableDispatch
) -> Union{MarketBidCost, RenewableGenerationCost}
Get RenewableDispatchoperation_cost.
PowerSystems.get_power_factor — Methodget_power_factor(value::RenewableDispatch) -> Float64
Get RenewableDispatchpower_factor.
PowerSystems.get_prime_mover_type — Methodget_prime_mover_type(
value::RenewableDispatch
) -> PrimeMovers
Get RenewableDispatchprime_mover_type.
PowerSystems.get_rating — Methodget_rating(value::RenewableDispatch) -> Float64
Get RenewableDispatchrating.
PowerSystems.get_reactive_power — Methodget_reactive_power(value::RenewableDispatch) -> Float64
Get RenewableDispatchreactive_power.
PowerSystems.get_reactive_power_limits — Methodget_reactive_power_limits(
value::RenewableDispatch
) -> Union{Nothing, @NamedTuple{min::Float64, max::Float64}}
Get RenewableDispatchreactive_power_limits.
PowerSystems.get_services — Methodget_services(value::RenewableDispatch) -> Vector{Service}
Get RenewableDispatchservices.
PowerSystems.set_active_power! — Methodset_active_power!(value::RenewableDispatch, val) -> Any
Set RenewableDispatchactive_power.
PowerSystems.set_base_power! — Methodset_base_power!(value::RenewableDispatch, val) -> Any
Set RenewableDispatchbase_power.
PowerSystems.set_bus! — Methodset_bus!(value::RenewableDispatch, val) -> Any
Set RenewableDispatchbus.
PowerSystems.set_ext! — Methodset_ext!(value::RenewableDispatch, val) -> Any
Set RenewableDispatchext.
PowerSystems.set_operation_cost! — Methodset_operation_cost!(value::RenewableDispatch, val) -> Any
Set RenewableDispatchoperation_cost.
PowerSystems.set_power_factor! — Methodset_power_factor!(value::RenewableDispatch, val) -> Any
Set RenewableDispatchpower_factor.
PowerSystems.set_prime_mover_type! — Methodset_prime_mover_type!(value::RenewableDispatch, val) -> Any
Set RenewableDispatchprime_mover_type.
PowerSystems.set_rating! — Methodset_rating!(value::RenewableDispatch, val) -> Any
Set RenewableDispatchrating.
PowerSystems.set_reactive_power! — Methodset_reactive_power!(value::RenewableDispatch, val) -> Any
Set RenewableDispatchreactive_power.
PowerSystems.set_reactive_power_limits! — Methodset_reactive_power_limits!(
value::RenewableDispatch,
val
) -> Any
Set RenewableDispatchreactive_power_limits.
PowerSystems.set_services! — Methodset_services!(value::RenewableDispatch, val) -> Any
Set RenewableDispatchservices.