RenewableDispatch
PowerSystems.RenewableDispatch — Type
mutable 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: Bus that 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. Options are listed herereactive_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 — Method
InfrastructureSystems.get_name — Method
InfrastructureSystems.set_available! — Method
PowerSystems.get_active_power — Method
PowerSystems.get_base_power — Method
PowerSystems.get_bus — Method
PowerSystems.get_dynamic_injector — Method
get_dynamic_injector(
value::RenewableDispatch
) -> Union{Nothing, DynamicInjection}
Get RenewableDispatch dynamic_injector.
PowerSystems.get_ext — Method
PowerSystems.get_operation_cost — Method
get_operation_cost(
value::RenewableDispatch
) -> Union{MarketBidCost, RenewableGenerationCost}
Get RenewableDispatch operation_cost.
PowerSystems.get_power_factor — Method
PowerSystems.get_prime_mover_type — Method
get_prime_mover_type(
value::RenewableDispatch
) -> PrimeMovers
Get RenewableDispatch prime_mover_type.
PowerSystems.get_rating — Method
PowerSystems.get_reactive_power — Method
PowerSystems.get_reactive_power_limits — Method
get_reactive_power_limits(
value::RenewableDispatch
) -> Union{Nothing, @NamedTuple{min::Float64, max::Float64}}
Get RenewableDispatch reactive_power_limits.
PowerSystems.get_services — Method
PowerSystems.set_active_power! — Method
PowerSystems.set_base_power! — Method
PowerSystems.set_bus! — Method
PowerSystems.set_ext! — Method
PowerSystems.set_operation_cost! — Method
set_operation_cost!(value::RenewableDispatch, val) -> Any
Set RenewableDispatch operation_cost.
PowerSystems.set_power_factor! — Method
PowerSystems.set_prime_mover_type! — Method
set_prime_mover_type!(value::RenewableDispatch, val) -> Any
Set RenewableDispatch prime_mover_type.
PowerSystems.set_rating! — Method
PowerSystems.set_reactive_power! — Method
set_reactive_power!(value::RenewableDispatch, val) -> Any
Set RenewableDispatch reactive_power.
PowerSystems.set_reactive_power_limits! — Method
set_reactive_power_limits!(
value::RenewableDispatch,
val
) -> Any
Set RenewableDispatch reactive_power_limits.