diff --git a/src/models/generated/StorageTechnology.jl b/src/models/generated/StorageTechnology.jl index 9879c90..8643714 100644 --- a/src/models/generated/StorageTechnology.jl +++ b/src/models/generated/StorageTechnology.jl @@ -34,6 +34,7 @@ This file is auto-generated. Do not edit. initial_state_of_charge::Float64 unit_size_energy::Float64 eff_up::Float64 + cluster::Int64 ext::Dict reg_cost::Float64 min_duration::Float64 @@ -72,6 +73,7 @@ This file is auto-generated. Do not edit. - `initial_state_of_charge::Float64`: (default: `0.0`) State of charge for storage technology in the first timepoint (MWh). - `unit_size_energy::Float64`: (default: `0.0`) Used for discrete investment decisions. Size of each unit being built (MW) - `eff_up::Float64`: (default: `1.0`) Efficiency of charging storage +- `cluster::Int64`: (default: `1`) Number of the cluster when representing multiple clusters of a given technology in a given region. - `ext::Dict`: (default: `Dict()`) Option for providing additional data - `reg_cost::Float64`: (default: `0.0`) Cost of providing regulation reserves - `min_duration::Float64`: (default: `0.0`) Minimum required durection for a storage technology @@ -135,6 +137,8 @@ mutable struct StorageTechnology{T <: PSY.Storage} <: Technology unit_size_energy::Float64 "Efficiency of charging storage" eff_up::Float64 + "Number of the cluster when representing multiple clusters of a given technology in a given region." + cluster::Int64 "Option for providing additional data" ext::Dict "Cost of providing regulation reserves " @@ -148,8 +152,8 @@ mutable struct StorageTechnology{T <: PSY.Storage} <: Technology end -function StorageTechnology{T}(; base_power, om_costs_energy=StorageCost(), existing_cap_energy=0.0, prime_mover_type=PrimeMovers.OT, rsv_cost=0.0, available, existing_cap_power=0.0, name, storage_tech, capital_costs_power=LinearCurve(0.0), max_duration=1000.0, unit_size_power=0.0, id, min_cap_power=0.0, capital_costs_energy=LinearCurve(0.0), losses=1.0, eff_down=1.0, rsv_max=0.0, max_cap_power=1e8, power_systems_type, internal=InfrastructureSystemsInternal(), om_costs_power=StorageCost(), balancing_topology, min_cap_energy=0.0, region=nothing, initial_state_of_charge=0.0, unit_size_energy=0.0, eff_up=1.0, ext=Dict(), reg_cost=0.0, min_duration=0.0, max_cap_energy=1e8, reg_max=0.0, ) where T <: PSY.Storage - StorageTechnology{T}(base_power, om_costs_energy, existing_cap_energy, prime_mover_type, rsv_cost, available, existing_cap_power, name, storage_tech, capital_costs_power, max_duration, unit_size_power, id, min_cap_power, capital_costs_energy, losses, eff_down, rsv_max, max_cap_power, power_systems_type, internal, om_costs_power, balancing_topology, min_cap_energy, region, initial_state_of_charge, unit_size_energy, eff_up, ext, reg_cost, min_duration, max_cap_energy, reg_max, ) +function StorageTechnology{T}(; base_power, om_costs_energy=StorageCost(), existing_cap_energy=0.0, prime_mover_type=PrimeMovers.OT, rsv_cost=0.0, available, existing_cap_power=0.0, name, storage_tech, capital_costs_power=LinearCurve(0.0), max_duration=1000.0, unit_size_power=0.0, id, min_cap_power=0.0, capital_costs_energy=LinearCurve(0.0), losses=1.0, eff_down=1.0, rsv_max=0.0, max_cap_power=1e8, power_systems_type, internal=InfrastructureSystemsInternal(), om_costs_power=StorageCost(), balancing_topology, min_cap_energy=0.0, region=nothing, initial_state_of_charge=0.0, unit_size_energy=0.0, eff_up=1.0, cluster=1, ext=Dict(), reg_cost=0.0, min_duration=0.0, max_cap_energy=1e8, reg_max=0.0, ) where T <: PSY.Storage + StorageTechnology{T}(base_power, om_costs_energy, existing_cap_energy, prime_mover_type, rsv_cost, available, existing_cap_power, name, storage_tech, capital_costs_power, max_duration, unit_size_power, id, min_cap_power, capital_costs_energy, losses, eff_down, rsv_max, max_cap_power, power_systems_type, internal, om_costs_power, balancing_topology, min_cap_energy, region, initial_state_of_charge, unit_size_energy, eff_up, cluster, ext, reg_cost, min_duration, max_cap_energy, reg_max, ) end """Get [`StorageTechnology`](@ref) `base_power`.""" @@ -208,6 +212,8 @@ get_initial_state_of_charge(value::StorageTechnology) = value.initial_state_of_c get_unit_size_energy(value::StorageTechnology) = value.unit_size_energy """Get [`StorageTechnology`](@ref) `eff_up`.""" get_eff_up(value::StorageTechnology) = value.eff_up +"""Get [`StorageTechnology`](@ref) `cluster`.""" +get_cluster(value::StorageTechnology) = value.cluster """Get [`StorageTechnology`](@ref) `ext`.""" get_ext(value::StorageTechnology) = value.ext """Get [`StorageTechnology`](@ref) `reg_cost`.""" @@ -275,6 +281,8 @@ set_initial_state_of_charge!(value::StorageTechnology, val) = value.initial_stat set_unit_size_energy!(value::StorageTechnology, val) = value.unit_size_energy = val """Set [`StorageTechnology`](@ref) `eff_up`.""" set_eff_up!(value::StorageTechnology, val) = value.eff_up = val +"""Set [`StorageTechnology`](@ref) `cluster`.""" +set_cluster!(value::StorageTechnology, val) = value.cluster = val """Set [`StorageTechnology`](@ref) `ext`.""" set_ext!(value::StorageTechnology, val) = value.ext = val """Set [`StorageTechnology`](@ref) `reg_cost`."""