IARA API
IARA.Configurations_PolicyGraphType
— ModuleConfigurations_PolicyGraphType
CYCLIC_WITH_NULL_ROOT
: Cyclic policy graph starting at node 1 (0)LINEAR
: Linear policy graph (1)CYCLIC_WITH_SEASON_ROOT
: Cyclic policy graph with equal chance of starting at any node (2)
IARA.RunMode
— ModuleRunMode
TRAIN_MIN_COST
: Centralized operation (0)PRICE_TAKER_BID
: Price taker bid (1)STRATEGIC_BID
: Strategic bid (2)MARKET_CLEARING
: Market clearing (3)MIN_COST
: Centralized operation simulation (4)SINGLE_PERIOD_MARKET_CLEARING
: Single period market clearing (5)SINGLE_PERIOD_HEURISTIC_BID
: Single period heuristic bid (6)INTERFACE_CALL
: Interface call (7)
IARA.Configurations_TimeSeriesStep
— ModuleConfigurations_TimeSeriesStep
ONE_MONTH_PER_PERIOD
: Monthly period (0)
IARA.Configurations_VariableAggregationType
— ModuleConfigurations_VariableAggregationType
SUM
: Sum (0)AVERAGE
: Average (1)LAST_VALUE
: Last value (2)
IARA.HydroUnit_InitialVolumeType
— ModuleHydroUnit_InitialVolumeType
PER_UNIT
: Initial volume in per unit (0)VOLUME
: Initial volume in hm³ (2)
IARA.DemandUnit_DemandType
— ModuleDemandUnit_DemandType
INELASTIC
: Inelastic demand (0)ELASTIC
: Elastic demand (1)FLEXIBLE
: Flexible demand (2)
IARA.Branch_LineModel
— ModuleBranch_LineModel
AC
: AC line model (0)DC
: DC line model (1)
IARA.AssetOwner_PriceType
— ModuleAssetOwner_PriceType
PRICE_MAKER
: Price maker (1)PRICE_TAKER
: Price taker (0)COUNTEROFFER_AGENT
: Counteroffer agent (2)
IARA.BiddingGroup_ExPostAdjustMode
— ModuleBiddingGroup_ExPostAdjustMode
- `NO_ADJUSTMENT`: No adjustment (0)
- `PROPORTIONAL_TO_EX_POST_GENERATION_OVER_EX_ANTE_GENERATION`: Adjust to ex-post availability (1)
- `PROPORTIONAL_TO_EX_POST_GENERATION_OVER_EX_ANTE_BID`: Adjust to ex-ante bid (2)
IARA.HydroUnit_OperationType
— ModuleHydroUnit_OperationType
RESERVOIR
: Reservoir operation (0)RUN_OF_RIVER
: Run of river operation (1)
IARA.Configurations_ClearingHydroRepresentation
— ModuleConfigurations_ClearingHydroRepresentation
PURE_BIDS
: Pure bids (0)VIRTUAL_RESERVOIRS
: Virtual reservoirs (1)FUTURE_COST_FUNCTION
: Future cost function (2)
IARA.Configurations_IntegerVariableRepresentation
— ModuleConfigurations_IntegerVariableRepresentation
CALCULATE_NORMALLY
: Fixed (0)FROM_EX_ANTE_PHYSICAL
: Fixed from previous step (1)LINEARIZE
: Linearize (2)
IARA.Configurations_BidDataSource
— ModuleConfigurations_BidDataSource
READ_FROM_FILE
: Read from file (0)PRICETAKER_HEURISTICS
: Run the heuristic bids module concurrently with clearing, one period at a time (1)
IARA.RunTime_ClearingSubproblem
— ModuleRunTime_ClearingSubproblem
EX_ANTE_PHYSICAL
: Ex-Ante physical (0)EX_ANTE_COMMERCIAL
: Ex-Ante commercial (1)EX_POST_PHYSICAL
: Ex-Post physical (2)EX_POST_COMMERCIAL
: Ex-Post commercial (3)
IARA.Configurations_ConstructionType
— ModuleConfigurations_ConstructionType
SKIP
: Skip (-1)COST_BASED
: Cost based (0)BID_BASED
: Bid based (1)HYBRID
: Hybrid (2)
IARA.Configurations_SettlementType
— ModuleConfigurations_SettlementType
NONE
: None (-1)EX_ANTE
: Ex-ante (0)EX_POST
: Ex-post (1)DOUBLE
: Double (2)
IARA.Configurations_MakeWholePayments
— ModuleConfigurations_MakeWholePayments
CONSTRAINED_ON_AND_OFF_PER_SUBPERIOD
: Constrained on and off per subperiod (0)CONSTRAINED_ON_PER_SUBPERIOD
: Constrained on per subperiod (1)CONSTRAINED_ON_PERIOD_AGGREGATE
: Constrained on daily aggregate (2)IGNORE
: Ignore (3)
IARA.Configurations_PriceLimits
— ModuleConfigurations_PriceLimits
REPRESENT
: Represent (0)IGNORE
: Ignore (1)
IARA.Configurations_ConsiderSubperiodsLoopForThermalConstraints
— ModuleConfigurations_ConsiderSubperiodsLoopForThermalConstraints
CONSIDER
: Consider subperiods loop for thermal constraints (1)DO_NOT_CONSIDER
: Do not consider subperiods loop for thermal constraints (0)
IARA.Configurations_BusesAggregationForStrategicBidding
— ModuleConfigurations_BusesAggregationForStrategicBidding
AGGREGATE
: Aggregate buses for strategic bidding (1)DO_NOT_AGGREGATE
: Do not aggregate buses for strategic bidding (0)
IARA.Configurations_NetworkRepresentation
— ModuleConfigurations_NetworkRepresentation
NODAL
: Nodal representation (0)ZONAL
: Zonal representation (1)
IARA.Configurations_UncertaintyScenariosFiles
— ModuleConfigurations_UncertaintyScenariosFiles
NONE
: None (0)ONLY_EX_ANTE
: Only ex-ante (1)ONLY_EX_POST
: Only ex-post (2)EX_ANTE_AND_EX_POST
: Ex-ante and ex-post (3)
IARA.Configurations_VRCurveguideDataSource
— ModuleConfigurations_VRCurveguideDataSource
READ_FROM_FILE
: User provided (0)UNIFORM_ACROSS_RESERVOIRS
: Uniform volume percentage (1)
IARA.Configurations_VRCurveguideDataFormat
— ModuleConfigurations_VRCurveguideDataFormat
CSV_FILE
: CSV file (0)FORMATTED_DATA
: Existing data (1)
IARA.BatteryUnit_Existence
— ModuleBatteryUnit_Existence
EXISTS
: Battery Unit exists (1)DOES_NOT_EXIST
: Battery Unit does not exist (0)
IARA.Branch_Existence
— ModuleBranch_Existence
EXISTS
: Branch exists (1)DOES_NOT_EXIST
: Branch does not exist (0)
IARA.DCLine_Existence
— ModuleDCLine_Existence
EXISTS
: DC Line exists (1)DOES_NOT_EXIST
: DC Line does not exist (0)
IARA.Interconnection_Existence
— ModuleInterconnection_Existence
EXISTS
: Interconnection exists (1)DOES_NOT_EXIST
: Interconnection does not exist (0)
IARA.DemandUnit_Existence
— ModuleDemandUnit_Existence
EXISTS
: Demand exists (1)DOES_NOT_EXIST
: Demand does not exist (0)
IARA.HydroUnit_Existence
— ModuleHydroUnit_Existence
EXISTS
: Hydro Unit exists (1)DOES_NOT_EXIST
: Hydro Unit does not exist (0)
IARA.RenewableUnit_Existence
— ModuleRenewableUnit_Existence
EXISTS
: Renewable Unit exists (1)DOES_NOT_EXIST
: Renewable Unit does not exist (0)
IARA.ThermalUnit_Existence
— ModuleThermalUnit_Existence
EXISTS
: Thermal Unit exists (1)DOES_NOT_EXIST
: Thermal Unit does not exist (0)
IARA.HydroUnit_HasCommitment
— ModuleHydroUnit_HasCommitment
HAS_COMMITMENT
: Hydro Unit has commitment (1)NO_COMMITMENT
: Hydro Unit has no commitment (0)
IARA.ThermalUnit_HasCommitment
— ModuleThermalUnit_HasCommitment
HAS_COMMITMENT
: Thermal Unit has commitment (1)NO_COMMITMENT
: Thermal Unit has no commitment (0)
IARA.ThermalUnit_CommitmentInitialCondition
— ModuleThermalUnit_CommitmentInitialCondition
ON
: Initial condition is ON (1)OFF
: Initial condition is OFF (0)
IARA.ExampleCases.list_of_available_cases
— Functionlist_of_available_cases()
Return a list of available cases to be loaded.
IARA.ExampleCases.build_example_case
— Functionbuild_example_case(
path::AbstractString,
case_name::String;
force::Bool = false,
)
Build the case with the name case_name
in the directory path
. If the directory does not exist, it will be created. If the directory exists and is not empty, an error will be thrown. The force
parameter can be used to overwrite the content of the directory.
the available cases are listed in the function list_of_available_cases()
.
IARA.AssetOwner
— TypeAssetOwner
Collection representing the asset owners in the problem.
IARA.BatteryUnit
— TypeBatteryUnit
Collection representing the battery unit in the system.
IARA.BiddingGroup
— TypeBiddingGroup
Collection representing the bidding groups in the system.
IARA.BidsView
— TypeBidsView
Collection representing the bids data read from external files in chunks.
Dimensions cached in bid time series files are static:
- 1 - Bidding group
- 2 - Bus
- 3 - Bid segment
- 4 - Subperiod
IARA.Branch
— TypeBranch
Collection representing the Branches in the system.
IARA.Bus
— TypeBus
Collection representing the buses in the system.
IARA.Collections
— TypeCollections
Struct of all input collections.
IARA.Configurations
— TypeConfigurations
Configurations for the problem.
IARA.DCLine
— TypeDCLine
Collection representing the DC lines in the system.
IARA.DemandUnit
— TypeDemandUnit
DemandUnit collection definition.
IARA.ExAnteAndExPostTimeSeriesView
— TypeExAnteAndExPostTimeSeriesView{T, N}
Some time series can come in two flavours:
1 - Ex-Ante time series: These are time series that are available before the periods of operation. They are used to make decisions for the next period. 2 - Ex-Post time series: These are time series that are available on the period of operation. They are used to make decisions for the current period.
In some use cases it is necessary to have both time series available. This view is used to store both time series in a single object. If the Ex-Post time series is nit available it will default to use the Ex-Ante time series.
Besides the conceptual idea about the time of availability of the data there is one concrete difference between the two time series: The Ex-Post time series always have one dimension more than the Ex-Ante time series. This extra dimension is called subscenario
. For a given period and scenario that the model made a decision we can use multiple new scenarios of the Ex-Post time series. This is the subscenario
dimension.
IARA.GaugingStation
— TypeGaugingStation
Collection representing the gauging stations in the system.
IARA.HourSubperiodMapping
— TypeHourSubperiodMapping
A struct to store the mapping between hours and subperiods. This struct is used to store the mapping between hours and subperiods in the external time series data. It only stores the mapping for one period at a time
IARA.HydroUnit
— TypeHydroUnit
Hydro units are high-level data structures that represent hydro electricity generation.
IARA.InitializeOutput
— TypeInitializeOutput
Abstract type for problem actions that initialize the output.
IARA.Inputs
— TypeInputs
Struct of all input data.
IARA.Interconnection
— TypeInterconnection
Collection representing the Interconnections in the system.
IARA.Outputs
— TypeOutputs
Struct to store parameters related to the outputs of the optimization problem.
IARA.PlotConfig
— TypePlotConfig
Configuration for a plot.
IARA.PlotTechnologyHistogram
— TypePlotTechnologyHistogram
Type for plotting a histogram where the observations are the total of generation for a technology, considering all scenarios, periods and subperiods.
IARA.PlotTechnologyHistogramPeriod
— TypePlotTechnologyHistogramPeriod
Type for plotting a histogram where the observations are the total of generation for a technology at period i, considering all scenarios and subperiods.
IARA.PlotTechnologyHistogramPeriodSubperiod
— TypePlotTechnologyHistogramPeriodSubperiod
Type for plotting a histogram where the observations are the total of generation for a technology at subperiod i, period j, considering all scenarios.
IARA.PlotTechnologyHistogramSubperiod
— TypePlotTechnologyHistogramSubperiod
Type for plotting a histogram where the observations are the total of generation for a technology at subperiod i, considering all scenarios and periods.
IARA.PlotTimeSeriesAll
— TypePlotTimeSeriesAll
Type for a time series plot with all scenarios.
IARA.PlotTimeSeriesQuantiles
— TypePlotTimeSeriesQuantiles
Type for a time series plot with P10, P50, and P90 quantiles of scenarios.
IARA.PlotTimeSeriesStackedMean
— TypePlotTimeSeriesStackedMean
Type for a time series plot with the mean of scenarios with all agents stacked.
IARA.PlotType
— TypePlotType
Abstract type for a plot type.
IARA.RenewableUnit
— TypeRenewableUnit
Renewable units are high-level data structures that represent non-dispatchable electricity generation.
IARA.SubproblemBuild
— TypeSubproblemBuild
Abstract type for subproblem actions that build the subproblem model.
IARA.SubproblemUpdate
— TypeSubproblemUpdate
Abstract type for subproblem actions that update the subproblem model.
IARA.ThermalUnit
— TypeThermalUnit
Thermal units are high-level data structures that represent thermal electricity generation.
IARA.TimeSeriesView
— TypeTimeSeriesView{T, N}
Collection representing the time series data read from external files in chunks.
IARA.TimeSeriesViewsFromExternalFiles
— TypeTimeSeriesViewsFromExternalFiles
Struct holding all the time series data that is read from external files. All fields only store a reference to the data, which is read from the files in chunks.
IARA.ViewFromExternalFile
— TypeViewFromExternalFile
An abstract type that represents a view of a time series that is stored in an external file. A view represents a chunck of the data in the file. The implementation goal is to avoid loading the entire file into memory.
IARA.VirtualReservoir
— TypeVirtualReservoir
Collection representing the virtual reservoir.
IARA.VirtualReservoirBidsView
— TypeVirtualReservoirBidsView
Collection representing the virtual reservoirs' bids data read from external files in chunks.
Dimensions cached in virtual reservoir bid time series files are static:
- 1 - Virtual reservoir
- 2 - Asset owner
- 3 - Bid segment
IARA.WriteOutput
— TypeWriteOutput
Abstract type for problem actions that write the output.
IARA._extract_bus_idx
— Method_extract_bus_idx(bus_label::String, bus_collection) -> Int
Get the index of a bus given its label.
Arguments
bus_label
: The bus label to look upbus_collection
: The bus collection containing labels and indices
Returns
- The index of the bus in the collection
Throws
- Error if the bus label is not found
IARA._extract_bus_label
— Method_extract_bus_label(gen_label::String) -> String
Extract the bus label from a generation label.
Arguments
gen_label
: Generation label in format "bgX - busY"
Returns
- The bus label (e.g., "bus_Y")
Throws
- Error if the generation label format is invalid
IARA.add_asset_owner!
— Methodadd_asset_owner!(db::DatabaseSQLite; kwargs...)
Add an asset owner to the database.
Required arguments:
label::String
: Label of the asset owner
price_type::Int64
: Price type of the asset owner0
[Price Taker]1
[Price Maker] <default>
virtual_reservoir_energy_account_upper_bound::Vector{Float64}
risk_factor_for_virtual_reservoir_bids::Vector{Float64}
Optional arguments:
purchase_discount_rate::Float64
Example:
IARA.add_asset_owner!(
db;
label = "AssetOwner1",
price_type = IARA.AssetOwner_PriceType.PRICE_MAKER,
)
IARA.add_battery_unit!
— Methodadd_battery_unit!(db::DatabaseSQLite; kwargs...)
Add a Battery Unit to the database.
Required arguments:
label::String
: Label of the battery unit
parameters::DataFrames.DataFrame: A dataframe containing time series attributes (described below).
Optional arguments:
initial_storage::Float64
: Initial storage of the battery unit
biddinggroup_id::Int64
: Bidding group of the battery unit
bus_id::Int64
: Bus of the battery unit
Time Series Attributes
Group parameters
:
date_time::Vector{DateTime}
: date and time of the time seriesexisting::Vector{Int64}
: Existing of the battery unit0
[Does Not Exist]1
[Exists]
min_storage::Vector{Float64}
: Min storage of the battery unitmax_storage::Vector{Float64}
: Max storage of the battery unitmax_capacity::Vector{Float64}
: Max capacity of the battery unitom_cost::Vector{Float64}
: OM cost of the battery unit[$/MWh]
biddinggroup_id
is ignored if theIARA.RunMode
is set toTRAIN_MIN_COST
.
Example:
IARA.add_battery_unit!(db;
label = "bat_1",
parameters = DataFrame(;
date_time = [DateTime(0)],
existing = [Int(IARA.BatteryUnit_Existence.EXISTS)],
min_storage = [0.0],
max_storage = [10.0] * 1e3,
max_capacity = [0.5],
om_cost = [1.0],
),
initial_storage = 0.0,
bus_id = "bus_2",
)
IARA.add_bidding_group!
— Methodadd_bidding_group!(db::DatabaseSQLite; kwargs...)
Add a BiddingGroup to the database.
Required arguments:
label::String
: Label of the bidding group
bid_price_limit_source::Int64
ex_post_adjust_mode::Int64
fixed_cost::Float64
Optional arguments:
assetowner_id::Int64
: Asset owner of the bidding group
risk_factor::Vector{Float64}
: Risk factor markup of the bidding group
segment_fraction::Vector{Float64}
: Segment fraction of the bidding group
Example:
IARA.add_bidding_group!(
db;
label = "bg_1",
assetowner_id = "asset_owner_1",
risk_factor = [0.5],
segment_fraction = [1.0],
independent_bid_max_segments = 2,
)
IARA.add_branch!
— Methodadd_branch!(db::DatabaseSQLite; kwargs...)
Add a Branch to the database.
Required arguments:
label::String
: Label of the branch
line_model::Int64
: Line model of the branch0
[AC] <default>1
[DC]
parameters::DataFrames.DataFrame: A dataframe containing time series attributes (described below).
Optional arguments:
bus_from::Int64
: Bus from of the branch
bus_to::Int64
: Bus to of the branch
Time Series Attributes
Group parameters
:
date_time::Vector{DateTime}
: date and time of the time seriesexisting::Vector{Int64}
: Existing of the branch0
[Does Not Exist]1
[Exists]
capacity::Vector{Float64}
: Capacity of the branch[MW]
reactance::Vector{Float64}
: Reactance of the branch[p.u.]
reactance
is ignored if theline_model
is set toDC
.
Example:
IARA.add_branch!(db;
label = "ac_3",
parameters = DataFrame(;
date_time = [DateTime(0)],
existing = [Int(IARA.Branch_Existence.EXISTS)],
capacity = [15.0],
reactance = [0.4],
),
bus_from = "bus_2",
bus_to = "bus_3",
)
IARA.add_bus!
— Methodadd_bus!(db::DatabaseSQLite; kwargs...)
Add a bus to the database.
Required arguments:
label::String
: Label of the bus
Optional arguments:
latitude::Float64
: Latitude of the bus
longitude::Float64
: Longitude of the bus
zone_id::Int64
: Zone of the bus
Example:
IARA.add_bus!(db;
label = "bus_1",
zone_id = "zone_1",
)
IARA.add_dc_line!
— Methodadd_dc_line!(db::DatabaseSQLite; kwargs...)
Add a DC Line to the database.
Required arguments:
label::String
: Label of the DC line
parameters::DataFrames.DataFrame: A dataframe containing time series attributes (described below).
Optional arguments:
bus_from::Int64
: Bus from of the DC line
bus_to::Int64
: Bus to of the DC line
Time Series Attributes
Group parameters
:
date_time::Vector{DateTime}
: date and time of the time seriesexisting::Vector{Int64}
: Existing of the DC line0
[Does Not Exist]1
[Exists]
capacity_to::Vector{Float64}
: Capacity to of the DC line[MW]
capacity_from::Vector{Float64}
: Capacity from of the DC line[MW]
Example:
IARA.add_dc_line!(db;
label = "dc_1",
parameters = DataFrame(;
date_time = [DateTime(0)],
existing = [Int(IARA.DCLine_Existence.EXISTS)],
capacity_to = [5.5],
capacity_from = [5.5],
),
bus_from = "bus_1",
bus_to = "bus_2",
)
IARA.add_demand_unit!
— Methodadd_demand_unit!(db::DatabaseSQLite; kwargs...)
Add a Demand to the database.
Required arguments:
label::String
: Label of the demand unit
demand_unit_type::Int64
: Demand type of the demand unit0
[Inelastic] <default>1
[Elastic]2
[Flexible]
max_demand::Float64
: Max demand of the demand unit[MW]
parameters::DataFrames.DataFrame: A dataframe containing time series attributes (described below).
Optional arguments:
max_shift_up::Float64
: Max shift up of the demand unit
max_shift_down::Float64
: Max shift down of the demand unit
curtailment_cost::Float64
: Curtailment cost of the demand unit (if flexible demand)[$/MWh]
max_curtailment::Float64
: Max curtailment of the demand unit (if flexible demand)
biddinggroup_id::Int64
bus_id::Int64
: Bus of the demand unit
Time Series Attributes
Group parameters
:
date_time::Vector{DateTime}
: date and time of the time seriesexisting::Vector{Int64}
: Existing of the demand unit0
[Does Not Exist]1
[Exists]
Example:
IARA.add_demand_unit!(db;
label = "Demand1",
parameters = DataFrame(;
date_time = [DateTime(0)],
existing = [1],
),
bus_id = "Island",
)
IARA.add_gauging_station!
— Methodadd_gauging_station!(db::DatabaseSQLite; kwargs...)
Add a Gauging Station to the database.
Required arguments:
label::String
: Label of the gauging station
historical_inflow::DataFrames.DataFrame: A dataframe containing time series attributes (described below).
Optional arguments:
gaugingstation_downstream::Int64
: Gauging station downstream of the gauging station
Time Series Attributes
Group historical_inflow
:
date_time::Vector{DateTime}
: date and time of the time serieshistorical_inflow::Vector{Float64}
:
historical_inflow
is required ifConfiguration.inflow_scenarios_files
is set toNONE
Example:
IARA.add_gauging_station!(db;
label = "gauging_station",
)
IARA.add_hydro_unit!
— Methodadd_hydro_unit!(db::DatabaseSQLite; kwargs...)
Add a Hydro Unit to the database.
Required arguments:
label::String
: Label of the hydro unit
waveguide_volume::Vector{Float64}
: Tiebreaker curve values of the virtual reservoir[GWh]
parameters::DataFrames.DataFrame: A dataframe containing time series attributes (described below).
Optional arguments:
initial_volume::Float64
: Initial volume of the hydro unit
initial_volume_type::Int64
: Initial volume type of the hydro unit0
[Per Unit]2
[Volume] <default>
has_commitment::Int64
: Has commitment of the hydro unit0
[No Commitment] <default>1
[Has Commitment]
operation_type::Int64
: Operation type of the hydro unit0
[Reservoir] <default>1
[Run of River]
hydrounit_spill_to::Int64
: Spill to of the hydro unit
hydrounit_turbine_to::Int64
: Turbine to of the hydro unit
gaugingstation_id::Int64
: Gauging station of the hydro unit
biddinggroup_id::Int64
: Bidding group of the hydro unit
bus_id::Int64
: Bus of the hydro unit
Time Series Attributes
Group parameters
:
date_time::Vector{DateTime}
: date and time of the time seriesexisting::Vector{Int64}
: Existing of the hydro unit0
[Does Not Exist]1
[Exists]
production_factor::Vector{Float64}
: Production factor of the hydro unit[MW/m³/s]
min_generation::Vector{Float64}
: Min generation of the hydro unit[MW]
max_generation::Vector{Float64}
: Max generation of the hydro unit[MW]
max_turbining::Vector{Float64}
: Max turbining of the hydro unit[m³/s]
min_volume::Vector{Float64}
: Min volume of the hydro unit[hm³]
max_volume::Vector{Float64}
: Max volume of the hydro unit[hm³]
min_outflow::Vector{Float64}
: Min outflow of the hydro unit[m³/s]
om_cost::Vector{Float64}
: O&M cost of the hydro unit[$/MWh]
bidding_group_id
is required if the run mode is not set toTRAIN_MIN_COST
.min_generation
is required ifhas_commitment
is set to1
.
Example:
IARA.add_hydro_unit!(db;
label = "Hydro1",
operation_type = IARA.HydroUnit_OperationType.RUN_OF_RIVER,
parameters = DataFrame(;
date_time = [DateTime(0)],
existing = [IARA.HydroUnit_Existence.EXISTS], # 1 = true
production_factor = [1.0], # MW/m³/s
max_generation = [100.0], # MW
max_turbining = [100.0], # m³/s
min_volume = [0.0], # hm³
max_volume = [0.0], # hm³
min_outflow = [0.0], # m³/s
om_cost = [0.0], # $/MWh
),
initial_volume = 0.0, # hm³
gaugingstation_id = "gauging_station",
biddinggroup_id = "Hydro Owner",
bus_id = "Island",
)
IARA.add_interconnection!
— Methodadd_interconnection!(db::DatabaseSQLite; kwargs...)
Add a Interconnection to the database.
Required arguments:
label::String
: Label of the interconnection
parameters::DataFrames.DataFrame: A dataframe containing time series attributes (described below).
Optional arguments:
zone_from::Int64
: Zone from of the interconnection
zone_to::Int64
: Zone to of the interconnection
Time Series Attributes
Group parameters
:
date_time::Vector{DateTime}
: date and time of the time seriesexisting::Vector{Int64}
: Existing of the interconnection0
[Does Not Exist]1
[Exists]
capacity_to::Vector{Float64}
: Capacity to of the interconnection[MW]
capacity_from::Vector{Float64}
: Capacity from of the interconnection[MW]
Example:
IARA.add_interconnection!(db;
label = "dc_1",
parameters = DataFrame(;
date_time = [DateTime(0)],
existing = [Int(IARA.Interconnection_Existence.EXISTS)],
capacity_to = [5.5],
capacity_from = [5.5],
),
zone_from = "Zone_1",
zone_to = "Zone_2",
)
IARA.add_renewable_unit!
— Methodadd_renewable_unit!(db::DatabaseSQLite; kwargs...)
Add a Renewable Unit to the database.
Required arguments:
label::String
: Label of the renewable unit
parameters::DataFrames.DataFrame: A dataframe containing time series attributes (described below).
Optional arguments:
technology_type::Int64
: Technology type of the renewable unit
biddinggroup_id::Int64
: Bidding group of the renewable unit
bus_id::Int64
: Bus of the renewable unit
Time Series Attributes
Group parameters
:
date_time::Vector{DateTime}
: date and time of the time seriesexisting::Vector{Int64}
: Existing of the renewable unit0
[Does Not Exist]1
[Exists]
max_generation::Vector{Float64}
: Max generation of the renewable unit[MW]
om_cost::Vector{Float64}
: O&M cost of the renewable unit[$/MWh]
curtailment_cost::Vector{Float64}
: Curtailment cost of the renewable unit[$/MWh]
Example:
IARA.add_renewable_unit!(
db;
label = "Solar1",
parameters = DataFrame(;
date_time = [DateTime(0)],
existing = [1],
max_generation = [80.0],
om_cost = [0.0],
curtailment_cost = [100.0],
),
biddinggroup_id = "Price Taker",
bus_id = "Island",
)
IARA.add_thermal_unit!
— Methodadd_thermal_unit!(db::DatabaseSQLite; kwargs...)
Add a Thermal Unit to the database.
Required arguments:
label::String
: Label of the thermal unit
has_commitment::Int64
: Has commitment of the thermal unit0
[No Commitment] <default>1
[Has Commitment]
shutdown_cost::Float64
: Shutdown cost of the thermal unit[$/event]
<default0.0
>commitment_initial_condition::Int64
: Commitment initial condition of the thermal unit0
[Off]1
[On]2
[Undefined] <default>
parameters::DataFrames.DataFrame: A dataframe containing time series attributes (described below).
Optional arguments:
max_ramp_up::Float64
: Max ramp up of the thermal unit[MW/h]
max_ramp_down::Float64
: Max ramp down of the thermal unit[MW/h]
min_uptime::Float64
: Min uptime of the thermal unit[h]
max_uptime::Float64
: Max uptime of the thermal unit[h]
min_downtime::Float64
: Min downtime of the thermal unit[h]
max_startups::Int64
: Max startups of the thermal unit
max_shutdowns::Int64
: Max shutdowns of the thermal unit
generation_initial_condition::Float64
: Generation initial condition for ramping of the thermal unit[MW]
uptime_initial_condition::Float64
: Uptime initial condition of the thermal unit[h]
downtime_initial_condition::Float64
: Downtime initial condition of the thermal unit[h]
biddinggroup_id::Int64
: Bidding group of the thermal unit
bus_id::Int64
: Bus of the thermal unit
Time Series Attributes
Group parameters
:
date_time::Vector{DateTime}
: date and time of the time seriesexisting::Vector{Int64}
: Existing of the thermal unit0
[Does Not Exist]1
[Exists]
startup_cost::Vector{Float64}
: Startup cost of the thermal unit[$/event]
min_generation::Vector{Float64}
: Min generation of the thermal unit[MW]
max_generation::Vector{Float64}
: Max generation of the thermal unit[MW]
om_cost::Vector{Float64}
: O&M cost of the thermal unit[$/MWh]
biddinggroup_id
is required ifIARA.RunMode
is not set toTRAIN_MIN_COST
.min_generation
is ignored ifhas_commitment
is set to0
.
Example:
IARA.add_thermal_unit!(
db;
label = "Thermal1",
parameters = DataFrame(;
date_time = [DateTime(0)],
existing = [1],
max_generation = [20.0],
om_cost = [10.0],
),
biddinggroup_id = "Thermal Owner",
bus_id = "Island",
)
IARA.add_virtual_reservoir!
— Methodadd_virtual_reservoir!(db::DatabaseSQLite; kwargs...)
Add a VirtualReservoir to the database.
Required arguments:
label::String
: Label of the virtual reservoir
inflow_allocation::Vector{Float64}
: Inflow allocation of the virtual reservoir
Optional arguments:
number_of_waveguide_points_for_file_template::Int64
: Number of points of the tiebreaker curve
initial_energy_account_share::Vector{Float64}
assetowner_id::Vector{Int64}
: Asset owner of the virtual reservoir
hydrounit_id::Vector{Int64}
: Hydro unit of the virtual reservoir
Example:
IARA.add_virtual_reservoir!(db;
label = "reservoir_1",
assetowner_id = ["asset_owner_1", "asset_owner_2"],
inflow_allocation = [0.4, 0.6],
hydrounit_id = ["hydro_1", "hydro_2"],
)
IARA.add_zone!
— Methodadd_zone!(db::DatabaseSQLite; kwargs...)
Add a zone to the database.
Required arguments:
label::String
: Label of the zone
Example:
IARA.add_zone!(db; label = "Island Zone")
IARA.advanced_validations
— Methodadvanced_validations(inputs::Inputs)
Validate the problem inputs' relations.
IARA.advanced_validations
— Methodadvanced_validations(inputs::AbstractInputs, asset_owner::AssetOwner)
Validate the AssetOwner within the inputs context. Return the number of errors found.
IARA.advanced_validations
— Methodadvanced_validations(inputs::AbstractInputs, battery_unit::BatteryUnit)
Validate the Battery's context within the inputs. Return the number of errors found.
IARA.advanced_validations
— Methodadvanced_validations(inputs::AbstractInputs, bidding_group::BiddingGroup)
Validate the BiddingGroup's context within the inputs. Return the number of errors found.
IARA.advanced_validations
— Methodadvanced_validations(inputs::AbstractInputs, branch::Branch)
Validate the Branch within the inputs context. Return the number of errors found.
IARA.advanced_validations
— Methodadvanced_validations(inputs::AbstractInputs, bus::Bus)
Validate the Bus within the inputs context. Return the number of errors found.
IARA.advanced_validations
— Methodadvanced_validations(inputs::AbstractInputs, configurations::Configurations)
Validate the Configurations' context within the inputs. Return the number of errors found.
IARA.advanced_validations
— Methodadvanced_validations(inputs::AbstractInputs, dc_line::DCLine)
Validate the DCLine within the inputs context. Return the number of errors found.
IARA.advanced_validations
— Methodadvanced_validations(inputs::AbstractInputs, demand_unit::DemandUnit)
Validate the Demand's context within the inputs. Return the number of errors found.
IARA.advanced_validations
— Methodadvanced_validations(inputs::AbstractInputs, gauging_station::GaugingStation)
Validate the GaugingStation within the inputs context. Return the number of errors found.
IARA.advanced_validations
— Methodadvanced_validations(inputs::AbstractInputs, interconnection::Interconnection)
Validate the Interconnection within the inputs context. Return the number of errors found.
IARA.advanced_validations
— Methodadvanced_validations(inputs::AbstractInputs, renewable_unit::RenewableUnit)
Validate the Renewable Units' context within the inputs. Return the number of errors found.
IARA.advanced_validations
— Methodadvanced_validations(inputs::AbstractInputs, thermal_unit::ThermalUnit)
Validate the Thermal Unit within the inputs context. Return the number of errors found.
IARA.advanced_validations
— Methodadvanced_validations(inputs::AbstractInputs, virtual_reservoir::VirtualReservoir)
Validate the VirtualReservoir within the inputs context. Return the number of errors found.
IARA.advanced_validations
— Methodadvanced_validations(inputs::AbstractInputs, zone::Zone)
Validate the Zone within the inputs context. Return the number of errors found.
IARA.agent_mean_and_sd_in_scenarios
— Methodagent_mean_and_sd_in_scenarios(::Type{PlotTimeSeriesStackedMean}, data::Array{<:AbstractFloat, 3}, agent_names::Vector{String}; kwargs...)
Calculate the mean and standard deviation of the data across scenarios.
IARA.agent_quantile_in_scenarios
— Methodagent_quantile_in_scenarios(::Type{PlotTimeSeriesQuantiles}, data::Array{<:AbstractFloat, 3}, agent_names::Vector{String}; kwargs...)
Calculate the P10, P50, and P90 quantiles of the data across scenarios.
IARA.aggregate_buses_for_strategic_bidding
— Methodaggregate_buses_for_strategic_bidding(inputs::AbstractInputs)
Return whether buses should be aggregated for strategic bidding.
IARA.any_valid_elements
— Methodany_valid_elements(
inputs::Inputs,
run_time_options::RunTimeOptions,
collection::Type{<:AbstractCollection},
action::Type{<:AbstractAction};
filters::Vector{<:Function} = Function[]
)
Check if there are any valid elements in the collection for the given action.
IARA.asset_owner_label
— Methodasset_owner_label(asset_owner::AbstractCollection, i::Integer)
Get the label field from the AssetOwner collection at index i.
IARA.asset_owner_label
— Methodasset_owner_label(collections::AbstractCollections, i::Integer)
Get the label field from the AssetOwner collection at index i.
IARA.asset_owner_label
— Methodasset_owner_label(collections::AbstractCollections)
Get the label
field from the AssetOwner
collection.
IARA.asset_owner_label
— Methodasset_owner_label(asset_owner::AbstractCollection)
Get the label
field from the AssetOwner
collection.
IARA.asset_owner_label
— Methodasset_owner_label(inputs::AbstractInputs, i::Integer)
Get the label field from the AssetOwner collection at index i.
IARA.asset_owner_label
— Methodasset_owner_label(inputs::AbstractInputs)
Get the label
field from the AssetOwner
collection.
IARA.asset_owner_price_type
— Methodasset_owner_price_type(asset_owner::AbstractCollection, i::Integer)
Get the price_type field from the AssetOwner collection at index i.
IARA.asset_owner_price_type
— Methodasset_owner_price_type(collections::AbstractCollections, i::Integer)
Get the price_type field from the AssetOwner collection at index i.
IARA.asset_owner_price_type
— Methodasset_owner_price_type(collections::AbstractCollections)
Get the price_type
field from the AssetOwner
collection.
IARA.asset_owner_price_type
— Methodasset_owner_price_type(asset_owner::AbstractCollection)
Get the price_type
field from the AssetOwner
collection.
IARA.asset_owner_price_type
— Methodasset_owner_price_type(inputs::AbstractInputs, i::Integer)
Get the price_type field from the AssetOwner collection at index i.
IARA.asset_owner_price_type
— Methodasset_owner_price_type(inputs::AbstractInputs)
Get the price_type
field from the AssetOwner
collection.
IARA.asset_owner_purchase_discount_rate
— Methodasset_owner_purchase_discount_rate(asset_owner::AbstractCollection, i::Integer)
Get the purchasediscountrate field from the AssetOwner collection at index i.
IARA.asset_owner_purchase_discount_rate
— Methodasset_owner_purchase_discount_rate(collections::AbstractCollections, i::Integer)
Get the purchasediscountrate field from the AssetOwner collection at index i.
IARA.asset_owner_purchase_discount_rate
— Methodasset_owner_purchase_discount_rate(collections::AbstractCollections)
Get the purchase_discount_rate
field from the AssetOwner
collection.
IARA.asset_owner_purchase_discount_rate
— Methodasset_owner_purchase_discount_rate(asset_owner::AbstractCollection)
Get the purchase_discount_rate
field from the AssetOwner
collection.
IARA.asset_owner_purchase_discount_rate
— Methodasset_owner_purchase_discount_rate(inputs::AbstractInputs, i::Integer)
Get the purchasediscountrate field from the AssetOwner collection at index i.
IARA.asset_owner_purchase_discount_rate
— Methodasset_owner_purchase_discount_rate(inputs::AbstractInputs)
Get the purchase_discount_rate
field from the AssetOwner
collection.
IARA.asset_owner_revenue_convex_hull
— Methodasset_owner_revenue_convex_hull(asset_owner::AbstractCollection, i::Integer)
Get the revenueconvexhull field from the AssetOwner collection at index i.
IARA.asset_owner_revenue_convex_hull
— Methodasset_owner_revenue_convex_hull(collections::AbstractCollections, i::Integer)
Get the revenueconvexhull field from the AssetOwner collection at index i.
IARA.asset_owner_revenue_convex_hull
— Methodasset_owner_revenue_convex_hull(collections::AbstractCollections)
Get the revenue_convex_hull
field from the AssetOwner
collection.
IARA.asset_owner_revenue_convex_hull
— Methodasset_owner_revenue_convex_hull(asset_owner::AbstractCollection)
Get the revenue_convex_hull
field from the AssetOwner
collection.
IARA.asset_owner_revenue_convex_hull
— Methodasset_owner_revenue_convex_hull(inputs::AbstractInputs, i::Integer)
Get the revenueconvexhull field from the AssetOwner collection at index i.
IARA.asset_owner_revenue_convex_hull
— Methodasset_owner_revenue_convex_hull(inputs::AbstractInputs)
Get the revenue_convex_hull
field from the AssetOwner
collection.
IARA.asset_owner_revenue_convex_hull_point
— Methodasset_owner_revenue_convex_hull_point(inputs::AbstractInputs, bus::Int, subperiod::Int, point_idx::Int)
Return a point in the revenue convex hull cache at a given bus and subperiod.
IARA.asset_owner_risk_factor_for_virtual_reservoir_bids
— Methodasset_owner_risk_factor_for_virtual_reservoir_bids(asset_owner::AbstractCollection, i::Integer)
Get the riskfactorforvirtualreservoir_bids field from the AssetOwner collection at index i.
IARA.asset_owner_risk_factor_for_virtual_reservoir_bids
— Methodasset_owner_risk_factor_for_virtual_reservoir_bids(collections::AbstractCollections, i::Integer)
Get the riskfactorforvirtualreservoir_bids field from the AssetOwner collection at index i.
IARA.asset_owner_risk_factor_for_virtual_reservoir_bids
— Methodasset_owner_risk_factor_for_virtual_reservoir_bids(collections::AbstractCollections)
Get the risk_factor_for_virtual_reservoir_bids
field from the AssetOwner
collection.
IARA.asset_owner_risk_factor_for_virtual_reservoir_bids
— Methodasset_owner_risk_factor_for_virtual_reservoir_bids(asset_owner::AbstractCollection)
Get the risk_factor_for_virtual_reservoir_bids
field from the AssetOwner
collection.
IARA.asset_owner_risk_factor_for_virtual_reservoir_bids
— Methodasset_owner_risk_factor_for_virtual_reservoir_bids(inputs::AbstractInputs, i::Integer)
Get the riskfactorforvirtualreservoir_bids field from the AssetOwner collection at index i.
IARA.asset_owner_risk_factor_for_virtual_reservoir_bids
— Methodasset_owner_risk_factor_for_virtual_reservoir_bids(inputs::AbstractInputs)
Get the risk_factor_for_virtual_reservoir_bids
field from the AssetOwner
collection.
IARA.asset_owner_virtual_reservoir_energy_account_upper_bound
— Methodasset_owner_virtual_reservoir_energy_account_upper_bound(asset_owner::AbstractCollection, i::Integer)
Get the virtualreservoirenergyaccountupper_bound field from the AssetOwner collection at index i.
IARA.asset_owner_virtual_reservoir_energy_account_upper_bound
— Methodasset_owner_virtual_reservoir_energy_account_upper_bound(collections::AbstractCollections, i::Integer)
Get the virtualreservoirenergyaccountupper_bound field from the AssetOwner collection at index i.
IARA.asset_owner_virtual_reservoir_energy_account_upper_bound
— Methodasset_owner_virtual_reservoir_energy_account_upper_bound(collections::AbstractCollections)
Get the virtual_reservoir_energy_account_upper_bound
field from the AssetOwner
collection.
IARA.asset_owner_virtual_reservoir_energy_account_upper_bound
— Methodasset_owner_virtual_reservoir_energy_account_upper_bound(asset_owner::AbstractCollection)
Get the virtual_reservoir_energy_account_upper_bound
field from the AssetOwner
collection.
IARA.asset_owner_virtual_reservoir_energy_account_upper_bound
— Methodasset_owner_virtual_reservoir_energy_account_upper_bound(inputs::AbstractInputs, i::Integer)
Get the virtualreservoirenergyaccountupper_bound field from the AssetOwner collection at index i.
IARA.asset_owner_virtual_reservoir_energy_account_upper_bound
— Methodasset_owner_virtual_reservoir_energy_account_upper_bound(inputs::AbstractInputs)
Get the virtual_reservoir_energy_account_upper_bound
field from the AssetOwner
collection.
IARA.battery_unit_balance!
— Methodbattery_unit_balance!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the battery unit balance constraints to the model.
IARA.battery_unit_bidding_group_index
— Methodbattery_unit_bidding_group_index(battery_unit::AbstractCollection, i::Integer)
Get the biddinggroupindex field from the BatteryUnit collection at index i.
IARA.battery_unit_bidding_group_index
— Methodbattery_unit_bidding_group_index(collections::AbstractCollections, i::Integer)
Get the biddinggroupindex field from the BatteryUnit collection at index i.
IARA.battery_unit_bidding_group_index
— Methodbattery_unit_bidding_group_index(collections::AbstractCollections)
Get the bidding_group_index
field from the BatteryUnit
collection.
IARA.battery_unit_bidding_group_index
— Methodbattery_unit_bidding_group_index(battery_unit::AbstractCollection)
Get the bidding_group_index
field from the BatteryUnit
collection.
IARA.battery_unit_bidding_group_index
— Methodbattery_unit_bidding_group_index(inputs::AbstractInputs, i::Integer)
Get the biddinggroupindex field from the BatteryUnit collection at index i.
IARA.battery_unit_bidding_group_index
— Methodbattery_unit_bidding_group_index(inputs::AbstractInputs)
Get the bidding_group_index
field from the BatteryUnit
collection.
IARA.battery_unit_bus_index
— Methodbattery_unit_bus_index(battery_unit::AbstractCollection, i::Integer)
Get the bus_index field from the BatteryUnit collection at index i.
IARA.battery_unit_bus_index
— Methodbattery_unit_bus_index(collections::AbstractCollections, i::Integer)
Get the bus_index field from the BatteryUnit collection at index i.
IARA.battery_unit_bus_index
— Methodbattery_unit_bus_index(collections::AbstractCollections)
Get the bus_index
field from the BatteryUnit
collection.
IARA.battery_unit_bus_index
— Methodbattery_unit_bus_index(battery_unit::AbstractCollection)
Get the bus_index
field from the BatteryUnit
collection.
IARA.battery_unit_bus_index
— Methodbattery_unit_bus_index(inputs::AbstractInputs, i::Integer)
Get the bus_index field from the BatteryUnit collection at index i.
IARA.battery_unit_bus_index
— Methodbattery_unit_bus_index(inputs::AbstractInputs)
Get the bus_index
field from the BatteryUnit
collection.
IARA.battery_unit_existing
— Methodbattery_unit_existing(battery_unit::AbstractCollection, i::Integer)
Get the existing field from the BatteryUnit collection at index i.
IARA.battery_unit_existing
— Methodbattery_unit_existing(collections::AbstractCollections, i::Integer)
Get the existing field from the BatteryUnit collection at index i.
IARA.battery_unit_existing
— Methodbattery_unit_existing(collections::AbstractCollections)
Get the existing
field from the BatteryUnit
collection.
IARA.battery_unit_existing
— Methodbattery_unit_existing(battery_unit::AbstractCollection)
Get the existing
field from the BatteryUnit
collection.
IARA.battery_unit_existing
— Methodbattery_unit_existing(inputs::AbstractInputs, i::Integer)
Get the existing field from the BatteryUnit collection at index i.
IARA.battery_unit_existing
— Methodbattery_unit_existing(inputs::AbstractInputs)
Get the existing
field from the BatteryUnit
collection.
IARA.battery_unit_generation!
— Methodbattery_unit_generation!(outputs, inputs::Inputs, run_time_options::RunTimeOptions, simulation_results::SimulationResultsFromPeriodScenario, period::Int, scenario::Int, subscenario::Int, ::Type{WriteOutput})
Write the battery unit generation variables' values to the output.
IARA.battery_unit_generation!
— Methodbattery_unit_generation!(outputs::Outputs, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{InitializeOutput})
Initialize the output file to store the battery unit generation variables' values.
IARA.battery_unit_generation!
— Methodbattery_unit_generation!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the battery unit generation variables to the model.
IARA.battery_unit_initial_storage
— Methodbattery_unit_initial_storage(battery_unit::AbstractCollection, i::Integer)
Get the initial_storage field from the BatteryUnit collection at index i.
IARA.battery_unit_initial_storage
— Methodbattery_unit_initial_storage(collections::AbstractCollections, i::Integer)
Get the initial_storage field from the BatteryUnit collection at index i.
IARA.battery_unit_initial_storage
— Methodbattery_unit_initial_storage(collections::AbstractCollections)
Get the initial_storage
field from the BatteryUnit
collection.
IARA.battery_unit_initial_storage
— Methodbattery_unit_initial_storage(battery_unit::AbstractCollection)
Get the initial_storage
field from the BatteryUnit
collection.
IARA.battery_unit_initial_storage
— Methodbattery_unit_initial_storage(inputs::AbstractInputs, i::Integer)
Get the initial_storage field from the BatteryUnit collection at index i.
IARA.battery_unit_initial_storage
— Methodbattery_unit_initial_storage(inputs::AbstractInputs)
Get the initial_storage
field from the BatteryUnit
collection.
IARA.battery_unit_label
— Methodbattery_unit_label(battery_unit::AbstractCollection, i::Integer)
Get the label field from the BatteryUnit collection at index i.
IARA.battery_unit_label
— Methodbattery_unit_label(collections::AbstractCollections, i::Integer)
Get the label field from the BatteryUnit collection at index i.
IARA.battery_unit_label
— Methodbattery_unit_label(collections::AbstractCollections)
Get the label
field from the BatteryUnit
collection.
IARA.battery_unit_label
— Methodbattery_unit_label(battery_unit::AbstractCollection)
Get the label
field from the BatteryUnit
collection.
IARA.battery_unit_label
— Methodbattery_unit_label(inputs::AbstractInputs, i::Integer)
Get the label field from the BatteryUnit collection at index i.
IARA.battery_unit_label
— Methodbattery_unit_label(inputs::AbstractInputs)
Get the label
field from the BatteryUnit
collection.
IARA.battery_unit_max_capacity
— Methodbattery_unit_max_capacity(battery_unit::AbstractCollection, i::Integer)
Get the max_capacity field from the BatteryUnit collection at index i.
IARA.battery_unit_max_capacity
— Methodbattery_unit_max_capacity(collections::AbstractCollections, i::Integer)
Get the max_capacity field from the BatteryUnit collection at index i.
IARA.battery_unit_max_capacity
— Methodbattery_unit_max_capacity(collections::AbstractCollections)
Get the max_capacity
field from the BatteryUnit
collection.
IARA.battery_unit_max_capacity
— Methodbattery_unit_max_capacity(battery_unit::AbstractCollection)
Get the max_capacity
field from the BatteryUnit
collection.
IARA.battery_unit_max_capacity
— Methodbattery_unit_max_capacity(inputs::AbstractInputs, i::Integer)
Get the max_capacity field from the BatteryUnit collection at index i.
IARA.battery_unit_max_capacity
— Methodbattery_unit_max_capacity(inputs::AbstractInputs)
Get the max_capacity
field from the BatteryUnit
collection.
IARA.battery_unit_max_storage
— Methodbattery_unit_max_storage(battery_unit::AbstractCollection, i::Integer)
Get the max_storage field from the BatteryUnit collection at index i.
IARA.battery_unit_max_storage
— Methodbattery_unit_max_storage(collections::AbstractCollections, i::Integer)
Get the max_storage field from the BatteryUnit collection at index i.
IARA.battery_unit_max_storage
— Methodbattery_unit_max_storage(collections::AbstractCollections)
Get the max_storage
field from the BatteryUnit
collection.
IARA.battery_unit_max_storage
— Methodbattery_unit_max_storage(battery_unit::AbstractCollection)
Get the max_storage
field from the BatteryUnit
collection.
IARA.battery_unit_max_storage
— Methodbattery_unit_max_storage(inputs::AbstractInputs, i::Integer)
Get the max_storage field from the BatteryUnit collection at index i.
IARA.battery_unit_max_storage
— Methodbattery_unit_max_storage(inputs::AbstractInputs)
Get the max_storage
field from the BatteryUnit
collection.
IARA.battery_unit_min_storage
— Methodbattery_unit_min_storage(battery_unit::AbstractCollection, i::Integer)
Get the min_storage field from the BatteryUnit collection at index i.
IARA.battery_unit_min_storage
— Methodbattery_unit_min_storage(collections::AbstractCollections, i::Integer)
Get the min_storage field from the BatteryUnit collection at index i.
IARA.battery_unit_min_storage
— Methodbattery_unit_min_storage(collections::AbstractCollections)
Get the min_storage
field from the BatteryUnit
collection.
IARA.battery_unit_min_storage
— Methodbattery_unit_min_storage(battery_unit::AbstractCollection)
Get the min_storage
field from the BatteryUnit
collection.
IARA.battery_unit_min_storage
— Methodbattery_unit_min_storage(inputs::AbstractInputs, i::Integer)
Get the min_storage field from the BatteryUnit collection at index i.
IARA.battery_unit_min_storage
— Methodbattery_unit_min_storage(inputs::AbstractInputs)
Get the min_storage
field from the BatteryUnit
collection.
IARA.battery_unit_om_cost
— Methodbattery_unit_om_cost(battery_unit::AbstractCollection, i::Integer)
Get the om_cost field from the BatteryUnit collection at index i.
IARA.battery_unit_om_cost
— Methodbattery_unit_om_cost(collections::AbstractCollections, i::Integer)
Get the om_cost field from the BatteryUnit collection at index i.
IARA.battery_unit_om_cost
— Methodbattery_unit_om_cost(collections::AbstractCollections)
Get the om_cost
field from the BatteryUnit
collection.
IARA.battery_unit_om_cost
— Methodbattery_unit_om_cost(battery_unit::AbstractCollection)
Get the om_cost
field from the BatteryUnit
collection.
IARA.battery_unit_om_cost
— Methodbattery_unit_om_cost(inputs::AbstractInputs, i::Integer)
Get the om_cost field from the BatteryUnit collection at index i.
IARA.battery_unit_om_cost
— Methodbattery_unit_om_cost(inputs::AbstractInputs)
Get the om_cost
field from the BatteryUnit
collection.
IARA.battery_unit_storage!
— Methodbattery_unit_storage!(outputs, inputs::Inputs, run_time_options::RunTimeOptions, simulation_results::SimulationResultsFromPeriodScenario, period::Int, scenario::Int, subscenario::Int, ::Type{WriteOutput})
Write the battery unit storage variables' values to the output.
IARA.battery_unit_storage!
— Methodbattery_unit_storage!(outputs::Outputs, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{InitializeOutput})
Initialize the output file to store the battery unit storage variables' values.
IARA.battery_unit_storage!
— Methodbattery_unit_storage!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the battery unit storage variables to the model.
IARA.bid_based_market_clearing_model_action
— Methodbid_based_market_clearing_model_action(args...)
Bid based market clearing model action.
IARA.bid_data_source
— Methodbid_data_source(inputs::AbstractInputs)
Return the clearing bid source.
IARA.bid_price_limit_high_reference
— Methodbid_price_limit_high_reference(inputs)
Return the high reference price for bid price limits.
IARA.bid_price_limit_low_reference
— Methodbid_price_limit_low_reference(inputs)
Return the low reference price for bid price limits.
IARA.bid_price_limit_markup_justified_independent
— Methodbid_price_limit_markup_justified_independent(inputs)
Return the bid price limit markup for justified independent bids.
IARA.bid_price_limit_markup_justified_profile
— Methodbid_price_limit_markup_justified_profile(inputs)
Return the bid price limit markup for justified profile bids.
IARA.bid_price_limit_markup_non_justified_independent
— Methodbid_price_limit_markup_non_justified_independent(inputs)
Return the bid price limit markup for non-justified independent bids.
IARA.bid_price_limit_markup_non_justified_profile
— Methodbid_price_limit_markup_non_justified_profile(inputs)
Return the bid price limit markup for non-justified profile bids.
IARA.bidding_group_asset_owner_index
— Methodbidding_group_asset_owner_index(bidding_group::AbstractCollection, i::Integer)
Get the assetownerindex field from the BiddingGroup collection at index i.
IARA.bidding_group_asset_owner_index
— Methodbidding_group_asset_owner_index(collections::AbstractCollections, i::Integer)
Get the assetownerindex field from the BiddingGroup collection at index i.
IARA.bidding_group_asset_owner_index
— Methodbidding_group_asset_owner_index(collections::AbstractCollections)
Get the asset_owner_index
field from the BiddingGroup
collection.
IARA.bidding_group_asset_owner_index
— Methodbidding_group_asset_owner_index(bidding_group::AbstractCollection)
Get the asset_owner_index
field from the BiddingGroup
collection.
IARA.bidding_group_asset_owner_index
— Methodbidding_group_asset_owner_index(inputs::AbstractInputs, i::Integer)
Get the assetownerindex field from the BiddingGroup collection at index i.
IARA.bidding_group_asset_owner_index
— Methodbidding_group_asset_owner_index(inputs::AbstractInputs)
Get the asset_owner_index
field from the BiddingGroup
collection.
IARA.bidding_group_balance!
— Methodbidding_group_balance!(outputs, inputs::Inputs, run_time_options::RunTimeOptions, simulation_results::SimulationResultsFromPeriodScenario, period::Int, scenario::Int, subscenario::Int, ::Type{WriteOutput})
Write the bidding group results for:
bidding_group_price_offer
IARA.bidding_group_balance!
— Methodbidding_group_balance!(outputs, inputs, run_time_options, ::Type{InitializeOutput})
Initialize the output files for:
bidding_group_price_offer
IARA.bidding_group_balance!
— Methodbidding_group_balance!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the bidding group balance constraints to the model.
IARA.bidding_group_bid_justifications_file
— Methodbidding_group_bid_justifications_file(bidding_group::AbstractCollection, i::Integer)
Get the bidjustificationsfile field from the BiddingGroup collection at index i.
IARA.bidding_group_bid_justifications_file
— Methodbidding_group_bid_justifications_file(collections::AbstractCollections, i::Integer)
Get the bidjustificationsfile field from the BiddingGroup collection at index i.
IARA.bidding_group_bid_justifications_file
— Methodbidding_group_bid_justifications_file(collections::AbstractCollections)
Get the bid_justifications_file
field from the BiddingGroup
collection.
IARA.bidding_group_bid_justifications_file
— Methodbidding_group_bid_justifications_file(bidding_group::AbstractCollection)
Get the bid_justifications_file
field from the BiddingGroup
collection.
IARA.bidding_group_bid_justifications_file
— Methodbidding_group_bid_justifications_file(inputs::AbstractInputs, i::Integer)
Get the bidjustificationsfile field from the BiddingGroup collection at index i.
IARA.bidding_group_bid_justifications_file
— Methodbidding_group_bid_justifications_file(inputs::AbstractInputs)
Get the bid_justifications_file
field from the BiddingGroup
collection.
IARA.bidding_group_bid_price_limit_justified_independent_file
— Methodbidding_group_bid_price_limit_justified_independent_file(bidding_group::AbstractCollection, i::Integer)
Get the bidpricelimitjustifiedindependent_file field from the BiddingGroup collection at index i.
IARA.bidding_group_bid_price_limit_justified_independent_file
— Methodbidding_group_bid_price_limit_justified_independent_file(collections::AbstractCollections, i::Integer)
Get the bidpricelimitjustifiedindependent_file field from the BiddingGroup collection at index i.
IARA.bidding_group_bid_price_limit_justified_independent_file
— Methodbidding_group_bid_price_limit_justified_independent_file(collections::AbstractCollections)
Get the bid_price_limit_justified_independent_file
field from the BiddingGroup
collection.
IARA.bidding_group_bid_price_limit_justified_independent_file
— Methodbidding_group_bid_price_limit_justified_independent_file(bidding_group::AbstractCollection)
Get the bid_price_limit_justified_independent_file
field from the BiddingGroup
collection.
IARA.bidding_group_bid_price_limit_justified_independent_file
— Methodbidding_group_bid_price_limit_justified_independent_file(inputs::AbstractInputs, i::Integer)
Get the bidpricelimitjustifiedindependent_file field from the BiddingGroup collection at index i.
IARA.bidding_group_bid_price_limit_justified_independent_file
— Methodbidding_group_bid_price_limit_justified_independent_file(inputs::AbstractInputs)
Get the bid_price_limit_justified_independent_file
field from the BiddingGroup
collection.
IARA.bidding_group_bid_price_limit_justified_profile_file
— Methodbidding_group_bid_price_limit_justified_profile_file(bidding_group::AbstractCollection, i::Integer)
Get the bidpricelimitjustifiedprofile_file field from the BiddingGroup collection at index i.
IARA.bidding_group_bid_price_limit_justified_profile_file
— Methodbidding_group_bid_price_limit_justified_profile_file(collections::AbstractCollections, i::Integer)
Get the bidpricelimitjustifiedprofile_file field from the BiddingGroup collection at index i.
IARA.bidding_group_bid_price_limit_justified_profile_file
— Methodbidding_group_bid_price_limit_justified_profile_file(collections::AbstractCollections)
Get the bid_price_limit_justified_profile_file
field from the BiddingGroup
collection.
IARA.bidding_group_bid_price_limit_justified_profile_file
— Methodbidding_group_bid_price_limit_justified_profile_file(bidding_group::AbstractCollection)
Get the bid_price_limit_justified_profile_file
field from the BiddingGroup
collection.
IARA.bidding_group_bid_price_limit_justified_profile_file
— Methodbidding_group_bid_price_limit_justified_profile_file(inputs::AbstractInputs, i::Integer)
Get the bidpricelimitjustifiedprofile_file field from the BiddingGroup collection at index i.
IARA.bidding_group_bid_price_limit_justified_profile_file
— Methodbidding_group_bid_price_limit_justified_profile_file(inputs::AbstractInputs)
Get the bid_price_limit_justified_profile_file
field from the BiddingGroup
collection.
IARA.bidding_group_bid_price_limit_non_justified_independent_file
— Methodbidding_group_bid_price_limit_non_justified_independent_file(bidding_group::AbstractCollection, i::Integer)
Get the bidpricelimitnonjustifiedindependentfile field from the BiddingGroup collection at index i.
IARA.bidding_group_bid_price_limit_non_justified_independent_file
— Methodbidding_group_bid_price_limit_non_justified_independent_file(collections::AbstractCollections, i::Integer)
Get the bidpricelimitnonjustifiedindependentfile field from the BiddingGroup collection at index i.
IARA.bidding_group_bid_price_limit_non_justified_independent_file
— Methodbidding_group_bid_price_limit_non_justified_independent_file(collections::AbstractCollections)
Get the bid_price_limit_non_justified_independent_file
field from the BiddingGroup
collection.
IARA.bidding_group_bid_price_limit_non_justified_independent_file
— Methodbidding_group_bid_price_limit_non_justified_independent_file(bidding_group::AbstractCollection)
Get the bid_price_limit_non_justified_independent_file
field from the BiddingGroup
collection.
IARA.bidding_group_bid_price_limit_non_justified_independent_file
— Methodbidding_group_bid_price_limit_non_justified_independent_file(inputs::AbstractInputs, i::Integer)
Get the bidpricelimitnonjustifiedindependentfile field from the BiddingGroup collection at index i.
IARA.bidding_group_bid_price_limit_non_justified_independent_file
— Methodbidding_group_bid_price_limit_non_justified_independent_file(inputs::AbstractInputs)
Get the bid_price_limit_non_justified_independent_file
field from the BiddingGroup
collection.
IARA.bidding_group_bid_price_limit_non_justified_profile_file
— Methodbidding_group_bid_price_limit_non_justified_profile_file(bidding_group::AbstractCollection, i::Integer)
Get the bidpricelimitnonjustifiedprofilefile field from the BiddingGroup collection at index i.
IARA.bidding_group_bid_price_limit_non_justified_profile_file
— Methodbidding_group_bid_price_limit_non_justified_profile_file(collections::AbstractCollections, i::Integer)
Get the bidpricelimitnonjustifiedprofilefile field from the BiddingGroup collection at index i.
IARA.bidding_group_bid_price_limit_non_justified_profile_file
— Methodbidding_group_bid_price_limit_non_justified_profile_file(collections::AbstractCollections)
Get the bid_price_limit_non_justified_profile_file
field from the BiddingGroup
collection.
IARA.bidding_group_bid_price_limit_non_justified_profile_file
— Methodbidding_group_bid_price_limit_non_justified_profile_file(bidding_group::AbstractCollection)
Get the bid_price_limit_non_justified_profile_file
field from the BiddingGroup
collection.
IARA.bidding_group_bid_price_limit_non_justified_profile_file
— Methodbidding_group_bid_price_limit_non_justified_profile_file(inputs::AbstractInputs, i::Integer)
Get the bidpricelimitnonjustifiedprofilefile field from the BiddingGroup collection at index i.
IARA.bidding_group_bid_price_limit_non_justified_profile_file
— Methodbidding_group_bid_price_limit_non_justified_profile_file(inputs::AbstractInputs)
Get the bid_price_limit_non_justified_profile_file
field from the BiddingGroup
collection.
IARA.bidding_group_bid_price_limit_source
— Methodbidding_group_bid_price_limit_source(bidding_group::AbstractCollection, i::Integer)
Get the bidpricelimit_source field from the BiddingGroup collection at index i.
IARA.bidding_group_bid_price_limit_source
— Methodbidding_group_bid_price_limit_source(collections::AbstractCollections, i::Integer)
Get the bidpricelimit_source field from the BiddingGroup collection at index i.
IARA.bidding_group_bid_price_limit_source
— Methodbidding_group_bid_price_limit_source(collections::AbstractCollections)
Get the bid_price_limit_source
field from the BiddingGroup
collection.
IARA.bidding_group_bid_price_limit_source
— Methodbidding_group_bid_price_limit_source(bidding_group::AbstractCollection)
Get the bid_price_limit_source
field from the BiddingGroup
collection.
IARA.bidding_group_bid_price_limit_source
— Methodbidding_group_bid_price_limit_source(inputs::AbstractInputs, i::Integer)
Get the bidpricelimit_source field from the BiddingGroup collection at index i.
IARA.bidding_group_bid_price_limit_source
— Methodbidding_group_bid_price_limit_source(inputs::AbstractInputs)
Get the bid_price_limit_source
field from the BiddingGroup
collection.
IARA.bidding_group_complementary_grouping_profile_file
— Methodbidding_group_complementary_grouping_profile_file(bidding_group::AbstractCollection, i::Integer)
Get the complementarygroupingprofile_file field from the BiddingGroup collection at index i.
IARA.bidding_group_complementary_grouping_profile_file
— Methodbidding_group_complementary_grouping_profile_file(collections::AbstractCollections, i::Integer)
Get the complementarygroupingprofile_file field from the BiddingGroup collection at index i.
IARA.bidding_group_complementary_grouping_profile_file
— Methodbidding_group_complementary_grouping_profile_file(collections::AbstractCollections)
Get the complementary_grouping_profile_file
field from the BiddingGroup
collection.
IARA.bidding_group_complementary_grouping_profile_file
— Methodbidding_group_complementary_grouping_profile_file(bidding_group::AbstractCollection)
Get the complementary_grouping_profile_file
field from the BiddingGroup
collection.
IARA.bidding_group_complementary_grouping_profile_file
— Methodbidding_group_complementary_grouping_profile_file(inputs::AbstractInputs, i::Integer)
Get the complementarygroupingprofile_file field from the BiddingGroup collection at index i.
IARA.bidding_group_complementary_grouping_profile_file
— Methodbidding_group_complementary_grouping_profile_file(inputs::AbstractInputs)
Get the complementary_grouping_profile_file
field from the BiddingGroup
collection.
IARA.bidding_group_energy_offer!
— Methodbidding_group_energy_offer!(outputs, inputs::Inputs, run_time_options::RunTimeOptions, simulation_results::SimulationResultsFromPeriodScenario, period::Int, scenario::Int, subscenario::Int, ::Type{WriteOutput})
Write the bidding group energy offer variable values to the output.
IARA.bidding_group_energy_offer!
— Methodbidding_group_energy_offer!(outputs::Outputs, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{InitializeOutput})
Initialize the output file to store the bidding group energy offer variable values.
IARA.bidding_group_energy_offer!
— Methodbidding_group_energy_offer!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemUpdate})
Updates the objective function coefficients for the bidding group energy offer variables.
IARA.bidding_group_energy_offer!
— Methodbidding_group_energy_offer!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the bidding group energy offer variables to the model.
IARA.bidding_group_ex_post_adjust_mode
— Methodbidding_group_ex_post_adjust_mode(bidding_group::AbstractCollection, i::Integer)
Get the expostadjust_mode field from the BiddingGroup collection at index i.
IARA.bidding_group_ex_post_adjust_mode
— Methodbidding_group_ex_post_adjust_mode(collections::AbstractCollections, i::Integer)
Get the expostadjust_mode field from the BiddingGroup collection at index i.
IARA.bidding_group_ex_post_adjust_mode
— Methodbidding_group_ex_post_adjust_mode(collections::AbstractCollections)
Get the ex_post_adjust_mode
field from the BiddingGroup
collection.
IARA.bidding_group_ex_post_adjust_mode
— Methodbidding_group_ex_post_adjust_mode(bidding_group::AbstractCollection)
Get the ex_post_adjust_mode
field from the BiddingGroup
collection.
IARA.bidding_group_ex_post_adjust_mode
— Methodbidding_group_ex_post_adjust_mode(inputs::AbstractInputs, i::Integer)
Get the expostadjust_mode field from the BiddingGroup collection at index i.
IARA.bidding_group_ex_post_adjust_mode
— Methodbidding_group_ex_post_adjust_mode(inputs::AbstractInputs)
Get the ex_post_adjust_mode
field from the BiddingGroup
collection.
IARA.bidding_group_fixed_cost
— Methodbidding_group_fixed_cost(bidding_group::AbstractCollection, i::Integer)
Get the fixed_cost field from the BiddingGroup collection at index i.
IARA.bidding_group_fixed_cost
— Methodbidding_group_fixed_cost(collections::AbstractCollections, i::Integer)
Get the fixed_cost field from the BiddingGroup collection at index i.
IARA.bidding_group_fixed_cost
— Methodbidding_group_fixed_cost(collections::AbstractCollections)
Get the fixed_cost
field from the BiddingGroup
collection.
IARA.bidding_group_fixed_cost
— Methodbidding_group_fixed_cost(bidding_group::AbstractCollection)
Get the fixed_cost
field from the BiddingGroup
collection.
IARA.bidding_group_fixed_cost
— Methodbidding_group_fixed_cost(inputs::AbstractInputs, i::Integer)
Get the fixed_cost field from the BiddingGroup collection at index i.
IARA.bidding_group_fixed_cost
— Methodbidding_group_fixed_cost(inputs::AbstractInputs)
Get the fixed_cost
field from the BiddingGroup
collection.
IARA.bidding_group_generation!
— Methodbidding_group_generation!(outputs, inputs::Inputs, run_time_options::RunTimeOptions, simulation_results::SimulationResultsFromPeriodScenario, period::Int, scenario::Int, subscenario::Int, ::Type{WriteOutput})
Write the bidding group generation variable values to the output.
IARA.bidding_group_generation!
— Methodbidding_group_generation!(outputs::Outputs, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{InitializeOutput})
Initialize the output file to store the bidding group generation variable values.
IARA.bidding_group_generation!
— Methodbidding_group_generation!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, scenario, subscenario, ::Type{SubproblemUpdate})
Updates the objective function coefficients for the bidding group generation variables.
IARA.bidding_group_generation!
— Methodbidding_group_generation!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the bidding group generation variables to the model.
IARA.bidding_group_generation_bound_by_offer!
— Methodbidding_group_generation_bound_by_offer!(
model,
inputs,
run_time_options,
::Type{SubproblemBuild},
)
Add the bidding group generation bound by offer constraints to the model.
IARA.bidding_group_label
— Methodbidding_group_label(bidding_group::AbstractCollection, i::Integer)
Get the label field from the BiddingGroup collection at index i.
IARA.bidding_group_label
— Methodbidding_group_label(collections::AbstractCollections, i::Integer)
Get the label field from the BiddingGroup collection at index i.
IARA.bidding_group_label
— Methodbidding_group_label(collections::AbstractCollections)
Get the label
field from the BiddingGroup
collection.
IARA.bidding_group_label
— Methodbidding_group_label(bidding_group::AbstractCollection)
Get the label
field from the BiddingGroup
collection.
IARA.bidding_group_label
— Methodbidding_group_label(inputs::AbstractInputs, i::Integer)
Get the label field from the BiddingGroup collection at index i.
IARA.bidding_group_label
— Methodbidding_group_label(inputs::AbstractInputs)
Get the label
field from the BiddingGroup
collection.
IARA.bidding_group_markup_offers_for_period_scenario
— Methodbidding_group_markup_offers_for_period_scenario(
inputs::Inputs, outputs::Outputs,
run_time_options::RunTimeOptions,
period::Int,
scenario::Int
)
Generate heuristic bids for the bidding groups and write them to the output files.
IARA.bidding_group_minimum_activation_level_profile_file
— Methodbidding_group_minimum_activation_level_profile_file(bidding_group::AbstractCollection, i::Integer)
Get the minimumactivationlevelprofilefile field from the BiddingGroup collection at index i.
IARA.bidding_group_minimum_activation_level_profile_file
— Methodbidding_group_minimum_activation_level_profile_file(collections::AbstractCollections, i::Integer)
Get the minimumactivationlevelprofilefile field from the BiddingGroup collection at index i.
IARA.bidding_group_minimum_activation_level_profile_file
— Methodbidding_group_minimum_activation_level_profile_file(collections::AbstractCollections)
Get the minimum_activation_level_profile_file
field from the BiddingGroup
collection.
IARA.bidding_group_minimum_activation_level_profile_file
— Methodbidding_group_minimum_activation_level_profile_file(bidding_group::AbstractCollection)
Get the minimum_activation_level_profile_file
field from the BiddingGroup
collection.
IARA.bidding_group_minimum_activation_level_profile_file
— Methodbidding_group_minimum_activation_level_profile_file(inputs::AbstractInputs, i::Integer)
Get the minimumactivationlevelprofilefile field from the BiddingGroup collection at index i.
IARA.bidding_group_minimum_activation_level_profile_file
— Methodbidding_group_minimum_activation_level_profile_file(inputs::AbstractInputs)
Get the minimum_activation_level_profile_file
field from the BiddingGroup
collection.
IARA.bidding_group_parent_profile_file
— Methodbidding_group_parent_profile_file(bidding_group::AbstractCollection, i::Integer)
Get the parentprofilefile field from the BiddingGroup collection at index i.
IARA.bidding_group_parent_profile_file
— Methodbidding_group_parent_profile_file(collections::AbstractCollections, i::Integer)
Get the parentprofilefile field from the BiddingGroup collection at index i.
IARA.bidding_group_parent_profile_file
— Methodbidding_group_parent_profile_file(collections::AbstractCollections)
Get the parent_profile_file
field from the BiddingGroup
collection.
IARA.bidding_group_parent_profile_file
— Methodbidding_group_parent_profile_file(bidding_group::AbstractCollection)
Get the parent_profile_file
field from the BiddingGroup
collection.
IARA.bidding_group_parent_profile_file
— Methodbidding_group_parent_profile_file(inputs::AbstractInputs, i::Integer)
Get the parentprofilefile field from the BiddingGroup collection at index i.
IARA.bidding_group_parent_profile_file
— Methodbidding_group_parent_profile_file(inputs::AbstractInputs)
Get the parent_profile_file
field from the BiddingGroup
collection.
IARA.bidding_group_price_offer_file
— Methodbidding_group_price_offer_file(bidding_group::AbstractCollection, i::Integer)
Get the priceofferfile field from the BiddingGroup collection at index i.
IARA.bidding_group_price_offer_file
— Methodbidding_group_price_offer_file(collections::AbstractCollections, i::Integer)
Get the priceofferfile field from the BiddingGroup collection at index i.
IARA.bidding_group_price_offer_file
— Methodbidding_group_price_offer_file(collections::AbstractCollections)
Get the price_offer_file
field from the BiddingGroup
collection.
IARA.bidding_group_price_offer_file
— Methodbidding_group_price_offer_file(bidding_group::AbstractCollection)
Get the price_offer_file
field from the BiddingGroup
collection.
IARA.bidding_group_price_offer_file
— Methodbidding_group_price_offer_file(inputs::AbstractInputs, i::Integer)
Get the priceofferfile field from the BiddingGroup collection at index i.
IARA.bidding_group_price_offer_file
— Methodbidding_group_price_offer_file(inputs::AbstractInputs)
Get the price_offer_file
field from the BiddingGroup
collection.
IARA.bidding_group_price_offer_profile_file
— Methodbidding_group_price_offer_profile_file(bidding_group::AbstractCollection, i::Integer)
Get the priceofferprofile_file field from the BiddingGroup collection at index i.
IARA.bidding_group_price_offer_profile_file
— Methodbidding_group_price_offer_profile_file(collections::AbstractCollections, i::Integer)
Get the priceofferprofile_file field from the BiddingGroup collection at index i.
IARA.bidding_group_price_offer_profile_file
— Methodbidding_group_price_offer_profile_file(collections::AbstractCollections)
Get the price_offer_profile_file
field from the BiddingGroup
collection.
IARA.bidding_group_price_offer_profile_file
— Methodbidding_group_price_offer_profile_file(bidding_group::AbstractCollection)
Get the price_offer_profile_file
field from the BiddingGroup
collection.
IARA.bidding_group_price_offer_profile_file
— Methodbidding_group_price_offer_profile_file(inputs::AbstractInputs, i::Integer)
Get the priceofferprofile_file field from the BiddingGroup collection at index i.
IARA.bidding_group_price_offer_profile_file
— Methodbidding_group_price_offer_profile_file(inputs::AbstractInputs)
Get the price_offer_profile_file
field from the BiddingGroup
collection.
IARA.bidding_group_profile_complementary_profile!
— Methodbidding_group_profile_complementary_profile!(
model,
inputs,
run_time_options,
::Type{SubproblemBuild},
)
Add the bidding group profile complementary profile constraints to the model.
IARA.bidding_group_profile_energy_offer!
— Methodbidding_group_profile_energy_offer!(outputs, inputs::Inputs, run_time_options::RunTimeOptions, simulation_results::SimulationResultsFromPeriodScenario, period::Int, scenario::Int, subscenario::Int, ::Type{WriteOutput})
Write the bidding group profile energy offer variables' values to the output.
IARA.bidding_group_profile_energy_offer!
— Methodbidding_group_profile_energy_offer!(outputs::Outputs, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{InitializeOutput})
Initialize the output file to store the bidding group profile energy offer variable values.
IARA.bidding_group_profile_energy_offer!
— Methodbidding_group_profile_energy_offer!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemUpdate})
Updates the objective function coefficients for the bidding group profile energy offer variables.
IARA.bidding_group_profile_energy_offer!
— Methodbidding_group_profile_energy_offer!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the bidding group profile energy offer variables to the model.
IARA.bidding_group_profile_generation_bound_by_offer!
— Methodbidding_group_profile_generation_bound_by_offer!(
model,
inputs,
run_time_options,
::Type{SubproblemBuild},
)
Add the bidding group profile generation bound by offer constraints to the model.
IARA.bidding_group_profile_minimum_activation!
— Methodbidding_group_profile_minimum_activation!(
model,
inputs,
run_time_options,
::Type{SubproblemBuild},
)
Add the bidding group profile minimum activation constraints to the model.
IARA.bidding_group_profile_precedence!
— Methodbidding_group_profile_precedence!(
model,
inputs,
run_time_options,
::Type{SubproblemBuild},
)
Add the bidding group profile precedence constraints to the model.
IARA.bidding_group_quantity_offer_file
— Methodbidding_group_quantity_offer_file(bidding_group::AbstractCollection, i::Integer)
Get the quantityofferfile field from the BiddingGroup collection at index i.
IARA.bidding_group_quantity_offer_file
— Methodbidding_group_quantity_offer_file(collections::AbstractCollections, i::Integer)
Get the quantityofferfile field from the BiddingGroup collection at index i.
IARA.bidding_group_quantity_offer_file
— Methodbidding_group_quantity_offer_file(collections::AbstractCollections)
Get the quantity_offer_file
field from the BiddingGroup
collection.
IARA.bidding_group_quantity_offer_file
— Methodbidding_group_quantity_offer_file(bidding_group::AbstractCollection)
Get the quantity_offer_file
field from the BiddingGroup
collection.
IARA.bidding_group_quantity_offer_file
— Methodbidding_group_quantity_offer_file(inputs::AbstractInputs, i::Integer)
Get the quantityofferfile field from the BiddingGroup collection at index i.
IARA.bidding_group_quantity_offer_file
— Methodbidding_group_quantity_offer_file(inputs::AbstractInputs)
Get the quantity_offer_file
field from the BiddingGroup
collection.
IARA.bidding_group_quantity_offer_profile_file
— Methodbidding_group_quantity_offer_profile_file(bidding_group::AbstractCollection, i::Integer)
Get the quantityofferprofile_file field from the BiddingGroup collection at index i.
IARA.bidding_group_quantity_offer_profile_file
— Methodbidding_group_quantity_offer_profile_file(collections::AbstractCollections, i::Integer)
Get the quantityofferprofile_file field from the BiddingGroup collection at index i.
IARA.bidding_group_quantity_offer_profile_file
— Methodbidding_group_quantity_offer_profile_file(collections::AbstractCollections)
Get the quantity_offer_profile_file
field from the BiddingGroup
collection.
IARA.bidding_group_quantity_offer_profile_file
— Methodbidding_group_quantity_offer_profile_file(bidding_group::AbstractCollection)
Get the quantity_offer_profile_file
field from the BiddingGroup
collection.
IARA.bidding_group_quantity_offer_profile_file
— Methodbidding_group_quantity_offer_profile_file(inputs::AbstractInputs, i::Integer)
Get the quantityofferprofile_file field from the BiddingGroup collection at index i.
IARA.bidding_group_quantity_offer_profile_file
— Methodbidding_group_quantity_offer_profile_file(inputs::AbstractInputs)
Get the quantity_offer_profile_file
field from the BiddingGroup
collection.
IARA.bidding_group_risk_factor
— Methodbidding_group_risk_factor(bidding_group::AbstractCollection, i::Integer)
Get the risk_factor field from the BiddingGroup collection at index i.
IARA.bidding_group_risk_factor
— Methodbidding_group_risk_factor(collections::AbstractCollections, i::Integer)
Get the risk_factor field from the BiddingGroup collection at index i.
IARA.bidding_group_risk_factor
— Methodbidding_group_risk_factor(collections::AbstractCollections)
Get the risk_factor
field from the BiddingGroup
collection.
IARA.bidding_group_risk_factor
— Methodbidding_group_risk_factor(bidding_group::AbstractCollection)
Get the risk_factor
field from the BiddingGroup
collection.
IARA.bidding_group_risk_factor
— Methodbidding_group_risk_factor(inputs::AbstractInputs, i::Integer)
Get the risk_factor field from the BiddingGroup collection at index i.
IARA.bidding_group_risk_factor
— Methodbidding_group_risk_factor(inputs::AbstractInputs)
Get the risk_factor
field from the BiddingGroup
collection.
IARA.bidding_group_segment_fraction
— Methodbidding_group_segment_fraction(bidding_group::AbstractCollection, i::Integer)
Get the segment_fraction field from the BiddingGroup collection at index i.
IARA.bidding_group_segment_fraction
— Methodbidding_group_segment_fraction(collections::AbstractCollections, i::Integer)
Get the segment_fraction field from the BiddingGroup collection at index i.
IARA.bidding_group_segment_fraction
— Methodbidding_group_segment_fraction(collections::AbstractCollections)
Get the segment_fraction
field from the BiddingGroup
collection.
IARA.bidding_group_segment_fraction
— Methodbidding_group_segment_fraction(bidding_group::AbstractCollection)
Get the segment_fraction
field from the BiddingGroup
collection.
IARA.bidding_group_segment_fraction
— Methodbidding_group_segment_fraction(inputs::AbstractInputs, i::Integer)
Get the segment_fraction field from the BiddingGroup collection at index i.
IARA.bidding_group_segment_fraction
— Methodbidding_group_segment_fraction(inputs::AbstractInputs)
Get the segment_fraction
field from the BiddingGroup
collection.
IARA.branch_bus_from
— Methodbranch_bus_from(branch::AbstractCollection, i::Integer)
Get the bus_from field from the Branch collection at index i.
IARA.branch_bus_from
— Methodbranch_bus_from(collections::AbstractCollections, i::Integer)
Get the bus_from field from the Branch collection at index i.
IARA.branch_bus_from
— Methodbranch_bus_from(collections::AbstractCollections)
Get the bus_from
field from the Branch
collection.
IARA.branch_bus_from
— Methodbranch_bus_from(branch::AbstractCollection)
Get the bus_from
field from the Branch
collection.
IARA.branch_bus_from
— Methodbranch_bus_from(inputs::AbstractInputs, i::Integer)
Get the bus_from field from the Branch collection at index i.
IARA.branch_bus_from
— Methodbranch_bus_from(inputs::AbstractInputs)
Get the bus_from
field from the Branch
collection.
IARA.branch_bus_to
— Methodbranch_bus_to(branch::AbstractCollection, i::Integer)
Get the bus_to field from the Branch collection at index i.
IARA.branch_bus_to
— Methodbranch_bus_to(collections::AbstractCollections, i::Integer)
Get the bus_to field from the Branch collection at index i.
IARA.branch_bus_to
— Methodbranch_bus_to(collections::AbstractCollections)
Get the bus_to
field from the Branch
collection.
IARA.branch_bus_to
— Methodbranch_bus_to(branch::AbstractCollection)
Get the bus_to
field from the Branch
collection.
IARA.branch_bus_to
— Methodbranch_bus_to(inputs::AbstractInputs, i::Integer)
Get the bus_to field from the Branch collection at index i.
IARA.branch_bus_to
— Methodbranch_bus_to(inputs::AbstractInputs)
Get the bus_to
field from the Branch
collection.
IARA.branch_capacity
— Methodbranch_capacity(branch::AbstractCollection, i::Integer)
Get the capacity field from the Branch collection at index i.
IARA.branch_capacity
— Methodbranch_capacity(collections::AbstractCollections, i::Integer)
Get the capacity field from the Branch collection at index i.
IARA.branch_capacity
— Methodbranch_capacity(collections::AbstractCollections)
Get the capacity
field from the Branch
collection.
IARA.branch_capacity
— Methodbranch_capacity(branch::AbstractCollection)
Get the capacity
field from the Branch
collection.
IARA.branch_capacity
— Methodbranch_capacity(inputs::AbstractInputs, i::Integer)
Get the capacity field from the Branch collection at index i.
IARA.branch_capacity
— Methodbranch_capacity(inputs::AbstractInputs)
Get the capacity
field from the Branch
collection.
IARA.branch_existing
— Methodbranch_existing(branch::AbstractCollection, i::Integer)
Get the existing field from the Branch collection at index i.
IARA.branch_existing
— Methodbranch_existing(collections::AbstractCollections, i::Integer)
Get the existing field from the Branch collection at index i.
IARA.branch_existing
— Methodbranch_existing(collections::AbstractCollections)
Get the existing
field from the Branch
collection.
IARA.branch_existing
— Methodbranch_existing(branch::AbstractCollection)
Get the existing
field from the Branch
collection.
IARA.branch_existing
— Methodbranch_existing(inputs::AbstractInputs, i::Integer)
Get the existing field from the Branch collection at index i.
IARA.branch_existing
— Methodbranch_existing(inputs::AbstractInputs)
Get the existing
field from the Branch
collection.
IARA.branch_flow!
— Methodbranch_flow!(outputs, inputs::Inputs, run_time_options::RunTimeOptions, simulation_results::SimulationResultsFromPeriodScenario, period::Int, scenario::Int, subscenario::Int, ::Type{WriteOutput})
Write the branch flow variables' values to the output file.
IARA.branch_flow!
— Methodbranch_flow!(outputs::Outputs, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{InitializeOutput})
Initialize the output file to store the branch flow variables' values.
IARA.branch_flow!
— Methodbranch_flow!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the branch flow variables to the model.
IARA.branch_label
— Methodbranch_label(branch::AbstractCollection, i::Integer)
Get the label field from the Branch collection at index i.
IARA.branch_label
— Methodbranch_label(collections::AbstractCollections, i::Integer)
Get the label field from the Branch collection at index i.
IARA.branch_label
— Methodbranch_label(collections::AbstractCollections)
Get the label
field from the Branch
collection.
IARA.branch_label
— Methodbranch_label(branch::AbstractCollection)
Get the label
field from the Branch
collection.
IARA.branch_label
— Methodbranch_label(inputs::AbstractInputs, i::Integer)
Get the label field from the Branch collection at index i.
IARA.branch_label
— Methodbranch_label(inputs::AbstractInputs)
Get the label
field from the Branch
collection.
IARA.branch_line_model
— Methodbranch_line_model(branch::AbstractCollection, i::Integer)
Get the line_model field from the Branch collection at index i.
IARA.branch_line_model
— Methodbranch_line_model(collections::AbstractCollections, i::Integer)
Get the line_model field from the Branch collection at index i.
IARA.branch_line_model
— Methodbranch_line_model(collections::AbstractCollections)
Get the line_model
field from the Branch
collection.
IARA.branch_line_model
— Methodbranch_line_model(branch::AbstractCollection)
Get the line_model
field from the Branch
collection.
IARA.branch_line_model
— Methodbranch_line_model(inputs::AbstractInputs, i::Integer)
Get the line_model field from the Branch collection at index i.
IARA.branch_line_model
— Methodbranch_line_model(inputs::AbstractInputs)
Get the line_model
field from the Branch
collection.
IARA.branch_reactance
— Methodbranch_reactance(branch::AbstractCollection, i::Integer)
Get the reactance field from the Branch collection at index i.
IARA.branch_reactance
— Methodbranch_reactance(collections::AbstractCollections, i::Integer)
Get the reactance field from the Branch collection at index i.
IARA.branch_reactance
— Methodbranch_reactance(collections::AbstractCollections)
Get the reactance
field from the Branch
collection.
IARA.branch_reactance
— Methodbranch_reactance(branch::AbstractCollection)
Get the reactance
field from the Branch
collection.
IARA.branch_reactance
— Methodbranch_reactance(inputs::AbstractInputs, i::Integer)
Get the reactance field from the Branch collection at index i.
IARA.branch_reactance
— Methodbranch_reactance(inputs::AbstractInputs)
Get the reactance
field from the Branch
collection.
IARA.build_clearing_outputs
— Methodbuild_clearing_outputs(inputs::Inputs)
Build the outputs for the clearing subproblem.
IARA.build_demand_offers!
— Methodbuild_demand_offers!(
inputs::Inputs,
bg_index::Int,
quantity_offers::Array{Float64, 4},
price_offers::Array{Float64, 4},
no_markup_price_offers::Array{Float64, 4},
demand_unit_indexes_per_bus::Vector{Vector{Int}},
number_of_risk_factors::Int,
segment_offset_per_bus::Vector{Int},
)
Build the quantity and price offers for demand units associated with a bidding group.
IARA.build_graph
— Methodbuild_graph(inputs::Inputs)
Builds a graph based on the inputs.
IARA.build_hydro_offers!
— Methodbuild_hydro_offers!(
inputs::Inputs,
bg_index::Int,
hydro_unit_indexes::Vector{Int},
number_of_risk_factors::Int,
available_energy::Union{Vector{Float64}, Nothing}
)
Build the quantity and price offers for hydro units associated with a bidding group.
IARA.build_plot_output
— Methodbuild_plot_output(inputs::Inputs, plots_path::String, outputs_path::String, plot_config::PlotConfig)
Build the plot output for a specific plot configuration.
IARA.build_plots
— Methodbuild_plots(inputs::Inputs)
Build plots for the outputs of the model.
IARA.build_renewable_offers!
— Methodbuild_renewable_offers(
inputs::Inputs,
bg_index::Int,
renewable_unit_indexes::Vector{Int},
number_of_risk_factors::Int
)
Build the quantity and price offers for renewable units associated with a bidding group.
IARA.build_sql_typed_kwargs
— Methodbuild_sql_typed_kwargs(kwargs::Dict{Symbol, T}) where T
Converts Enum values in the kwargs to their corresponding Int values for SQL purposes, keeping other values unchanged.
IARA.build_subproblem_model
— Methodbuild_subproblem_model(
inputs::Inputs,
run_time_options::RunTimeOptions,
period::Int;
jump_model = JuMP.Model(),
)
Build the subproblem model for the given period.
IARA.build_thermal_offers!
— Methodbuild_thermal_offers(
inputs::Inputs,
bg_index::Int,
thermal_unit_indexes::Vector{Int},
number_of_risk_factors::Int
)
Build the quantity and price offers for thermal units associated with a bidding group.
IARA.bus_label
— Methodbus_label(bus::AbstractCollection, i::Integer)
Get the label field from the Bus collection at index i.
IARA.bus_label
— Methodbus_label(collections::AbstractCollections, i::Integer)
Get the label field from the Bus collection at index i.
IARA.bus_label
— Methodbus_label(collections::AbstractCollections)
Get the label
field from the Bus
collection.
IARA.bus_label
— Methodbus_label(bus::AbstractCollection)
Get the label
field from the Bus
collection.
IARA.bus_label
— Methodbus_label(inputs::AbstractInputs, i::Integer)
Get the label field from the Bus collection at index i.
IARA.bus_label
— Methodbus_label(inputs::AbstractInputs)
Get the label
field from the Bus
collection.
IARA.bus_latitude
— Methodbus_latitude(bus::AbstractCollection, i::Integer)
Get the latitude field from the Bus collection at index i.
IARA.bus_latitude
— Methodbus_latitude(collections::AbstractCollections, i::Integer)
Get the latitude field from the Bus collection at index i.
IARA.bus_latitude
— Methodbus_latitude(collections::AbstractCollections)
Get the latitude
field from the Bus
collection.
IARA.bus_latitude
— Methodbus_latitude(bus::AbstractCollection)
Get the latitude
field from the Bus
collection.
IARA.bus_latitude
— Methodbus_latitude(inputs::AbstractInputs, i::Integer)
Get the latitude field from the Bus collection at index i.
IARA.bus_latitude
— Methodbus_latitude(inputs::AbstractInputs)
Get the latitude
field from the Bus
collection.
IARA.bus_longitude
— Methodbus_longitude(bus::AbstractCollection, i::Integer)
Get the longitude field from the Bus collection at index i.
IARA.bus_longitude
— Methodbus_longitude(collections::AbstractCollections, i::Integer)
Get the longitude field from the Bus collection at index i.
IARA.bus_longitude
— Methodbus_longitude(collections::AbstractCollections)
Get the longitude
field from the Bus
collection.
IARA.bus_longitude
— Methodbus_longitude(bus::AbstractCollection)
Get the longitude
field from the Bus
collection.
IARA.bus_longitude
— Methodbus_longitude(inputs::AbstractInputs, i::Integer)
Get the longitude field from the Bus collection at index i.
IARA.bus_longitude
— Methodbus_longitude(inputs::AbstractInputs)
Get the longitude
field from the Bus
collection.
IARA.bus_voltage_angle!
— Methodbus_voltage_angle!(outputs, inputs::Inputs, run_time_options::RunTimeOptions, simulation_results::SimulationResultsFromPeriodScenario, period::Int, scenario::Int, subscenario::Int, ::Type{WriteOutput})
Write the bus voltage angle variables' values to the output file.
IARA.bus_voltage_angle!
— Methodbus_voltage_angle!(outputs::Outputs, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{InitializeOutput})
Initialize the output file to store the bus voltage angle variables' values.
IARA.bus_voltage_angle!
— Methodbus_voltage_angle!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the bus voltage angle variables to the model.
IARA.bus_zone_index
— Methodbus_zone_index(bus::AbstractCollection, i::Integer)
Get the zone_index field from the Bus collection at index i.
IARA.bus_zone_index
— Methodbus_zone_index(collections::AbstractCollections, i::Integer)
Get the zone_index field from the Bus collection at index i.
IARA.bus_zone_index
— Methodbus_zone_index(collections::AbstractCollections)
Get the zone_index
field from the Bus
collection.
IARA.bus_zone_index
— Methodbus_zone_index(bus::AbstractCollection)
Get the zone_index
field from the Bus
collection.
IARA.bus_zone_index
— Methodbus_zone_index(inputs::AbstractInputs, i::Integer)
Get the zone_index field from the Bus collection at index i.
IARA.bus_zone_index
— Methodbus_zone_index(inputs::AbstractInputs)
Get the zone_index
field from the Bus
collection.
IARA.buses_represented_for_strategic_bidding
— Methodbuses_represented_for_strategic_bidding(inputs::Inputs)
If the 'aggregatebusesforstrategicbidding' attribute is set to AGGREGATE, return [1]. Otherwise, return the index of all Buses.
IARA.calculate_incremental_inflow
— Methodcalculate_incremental_inflow(inputs::Inputs, total_inflow::Vector{Vector{Float64}})
Calculate incremental inflow from total inflow.
IARA.calculate_profits_settlement
— Methodcalculate_profits_settlement(inputs, run_time_options)
Calculate the profits of the bidding groups for the different settlement types.
IARA.clearing_has_physical_variables
— Methodclearing_has_physical_variables(inputs::Inputs)
Check if the market clearing has physical variables in at least one of its problems.
IARA.clearing_has_state_variables
— Methodclearing_has_state_variables(inputs::Inputs, run_time_options::RunTimeOptions)
Check if the clearing has any representation that requires state variables.
IARA.clearing_has_volume_variables
— Methodclearing_has_volume_variables(inputs::Inputs, run_time_options::RunTimeOptions)
Check if the clearing has volume variables.
IARA.clearing_hydro_representation
— Methodclearing_hydro_representation(inputs::AbstractInputs)
Return the clearing hydro representation.
IARA.clearing_representation_must_read_cuts
— Methodclearing_representation_must_read_cuts(
inputs::Inputs,
run_time_options::RunTimeOptions
)
Check if the clearing representation must read cuts.
IARA.close_study!
— Methodclose_study!(db::DatabaseSQLite)
Closes the database.
IARA.constraint_dual_recorder
— Methodconstraint_dual_recorder(constraint_name::Symbol)
Return a function that retrieves the dual value of a constraint with the provided name.
IARA.construction_type
— Methodconstruction_type(inputs::Inputs, run_time_options::RunTimeOptions)
Determine the clearing model type.
IARA.construction_type_ex_ante_commercial
— Methodconstruction_type_ex_ante_commercial(inputs::AbstractInputs)
Return the ex-ante commercial clearing model type.
IARA.construction_type_ex_ante_physical
— Methodconstruction_type_ex_ante_physical(inputs::AbstractInputs)
Return the ex-ante physical clearing model type.
IARA.construction_type_ex_post_commercial
— Methodconstruction_type_ex_post_commercial(inputs::AbstractInputs)
Return the ex-post commercial clearing model type.
IARA.construction_type_ex_post_physical
— Methodconstruction_type_ex_post_physical(inputs::AbstractInputs)
Return the ex-post physical clearing model type.
IARA.convex_hull_coefficients!
— Methodconvex_hull_coefficients!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemUpdate})
Updates the objective function coefficients for the convex hull coefficients variables.
IARA.convex_hull_coefficients!
— Methodconvex_hull_coefficients!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the convex hull coefficients variables to the model.
IARA.cost_based_market_clearing_model_action
— Methodcost_based_market_clearing_model_action(args...)
Cost based market clearing model action.
IARA.create_bidding_group_cost_files
— Methodcreate_bidding_group_cost_files(inputs::Inputs, outputs_post_processing::Outputs, model_outputs_time_serie::OutputReaders, run_time_options::RunTimeOptions)
Create the bidding group cost files for ex-ante and ex-post data (physical and commercial).
IARA.create_bidding_group_generation_files
— Methodcreate_bidding_group_generation_files(inputs::Inputs, outputs_post_processing::Outputs, model_outputs_time_serie::OutputReaders, run_time_options::RunTimeOptions)
Create the bidding group generation files for ex-ante and ex-post data (physical and commercial).
IARA.create_study!
— Methodcreate_study!(
case_path::String;
kwargs...
)
create_study!
creates a new study and returns a PSRClassesInterface.PSRDatabaseSQLite.DatabaseSQLite
object.
Required arguments:
label::String
: Label of the configuration <default"Configuration"
>number_of_subscenarios::Int64
: Number of subscenarios in the configuration <default1
>initial_date_time::String
: Initial date time of the configuration[yyyy-MM-dd HH:mm]
<default"2024-01-01"
>time_series_step::Int64
: Time series step of the configuration <default0
>cycle_discount_rate::Float64
: Cycle discount rate of the configuration
cycle_duration_in_hours::Float64
: Cycle duration in hours of the configuration <default8760.0
>hydro_spillage_cost::Float64
: Hydro spillage cost of the configuration <default0.0
>bid_data_source::Int64
: Bid data source of the configuration0
[Read From File] <default>1
[Price Taker Heuristics]
clearing_hydro_representation::Int64
: Clearing hydro representation of the configuration <default0
>ex_post_physical_hydro_representation::Int64
: Ex post physical hydro representation of the configuration <default0
>clearing_integer_variables::Int64
: Clearing integer variables of the configuration <default0
>settlement_type::Int64
: Settlement type of the configuration <default0
>make_whole_payments::Int64
: Make whole payments of the configuration <default0
>price_limits::Int64
: Price limits of the configuration <default0
>number_of_periods::Int64
: Number of periods in the configuration <default1
>number_of_scenarios::Int64
: Number of scenarios in the configuration <default1
>number_of_subperiods::Int64
: Number of subperiods in the configuration <default1
>demand_deficit_cost::Float64
: Demand deficit cost of the configuration <default1.0e6
>policy_graph_type::Int64
: Policy graph type of the configuration0
[Cyclic With Null Root] <default>1
[Linear]2
[Cyclic With Season Root]
renewable_scenarios_files::Int64
: Renewable scenarios files of the configuration0
[None]1
[Only Ex Ante]2
[Only Ex Post]3
[Ex Ante And Ex Post] <default>
inflow_scenarios_files::Int64
: Inflow scenarios files of the configuration0
[None]1
[Only Ex Ante]2
[Only Ex Post]3
[Ex Ante And Ex Post] <default>
demand_scenarios_files::Int64
: Demand scenarios files of the configuration0
[None]1
[Only Ex Ante]2
[Only Ex Post]3
[Ex Ante And Ex Post] <default>
market_clearing_tiebreaker_weight::Float64
: Market clearing tiebreaker weight of the configuration <default0.001
>virtual_reservoir_initial_energy_account_share::Int64
bid_price_limit_markup_non_justified_profile::Float64
bid_price_limit_markup_justified_profile::Float64
bid_price_limit_markup_non_justified_independent::Float64
bid_price_limit_markup_justified_independent::Float64
bid_price_limit_high_reference::Float64
bidding_group_bid_validation::Int64
purchase_bids_for_virtual_reservoir_heuristic_bid::Int64
reference_curve_number_of_segments::Int64
reference_curve_final_segment_price_markup::Float64
Optional arguments:
number_of_nodes::Int64
: Number of nodes in the configuration
train_mincost_iteration_limit::Int64
hydro_balance_subperiod_resolution::Int64
: Hydro balance subperiod resolution of the configuration <default0
>loop_subperiods_for_thermal_constraints::Int64
: Loop subperiods for thermal constraints of the configuration
hydro_minimum_outflow_violation_cost::Float64
: Hydro minimum outflow violation cost of the configuration
aggregate_buses_for_strategic_bidding::Int64
: Aggregate buses for strategic bidding of the configuration
parp_max_lags::Int64
: PARP max lags of the configuration <default6
>construction_type_ex_ante_physical::Int64
: Construction type ex ante physical of the configuration <default-1
>construction_type_ex_ante_commercial::Int64
: Construction type ex ante commercial of the configuration <default-1
>construction_type_ex_post_physical::Int64
: Construction type ex post physical of the configuration <default-1
>construction_type_ex_post_commercial::Int64
: Construction type ex post commercial of the configuration <default-1
>use_fcf_in_clearing::Int64
: Use FCF in clearing of the configuration0
[False] <default>1
[True]
integer_variable_representation_ex_ante_physical::Int64
: Integer variable representation ex ante physical of the configuration <default0
>integer_variable_representation_ex_ante_commercial::Int64
: Integer variable representation ex ante commercial of the configuration <default0
>integer_variable_representation_ex_post_physical::Int64
: Integer variable representation ex post physical of the configuration <default0
>integer_variable_representation_ex_post_commercial::Int64
: Integer variable representation ex post commercial of the configuration <default0
>spot_price_floor::Float64
: Spot price floor of the configuration
spot_price_cap::Float64
: Spot price cap of the configuration
virtual_reservoir_correspondence_type::Int64
: Virtual reservoir correspondence type of the configuration <default1
>vr_curveguide_data_source::Int64
: VR curveguide data source of the configuration0
[Read From File]1
[Uniform Across Reservoirs] <default>
vr_curveguide_data_format::Int64
: VR curveguide data format of the configuration0
[CSV File] <default>1
[Formatted Data]
integer_variable_representation_mincost::Int64
: Integer variable representation min cost of the configuration <default0
>network_representation_mincost::Int64
: Network representation min cost of the configuration <default0
>network_representation_ex_ante_physical::Int64
: Network representation ex ante physical of the configuration0
[Nodal] <default>1
[Zonal]
network_representation_ex_ante_commercial::Int64
: Network representation ex ante commercial of the configuration0
[Nodal] <default>1
[Zonal]
network_representation_ex_post_physical::Int64
: Network representation ex post physical of the configuration0
[Nodal] <default>1
[Zonal]
network_representation_ex_post_commercial::Int64
: Network representation ex post commercial of the configuration0
[Nodal] <default>1
[Zonal]
language::String
train_mincost_time_limit_sec::Int64
bid_price_limit_low_reference::Float64
subperiod_duration_in_hours::Vector{Float64}
: Subperiod duration in hours of the configuration
expected_number_of_repeats_per_node::Vector{Float64}
:
IARA.custom_plot
— MethodIARA.custom_plot(plot_a::Plot, plot_b::Plot; title::String = "Plot")
Create a customized plot from two plots.
- It requires a vector of plots that you have already created with
IARA.custom_plot
. - The x-axis of the two plots must be the same.
Example:
path_1 = "path/to/file.csv"
path_2 = "path/to/another_file.csv"
plot_1 = IARA.custom_plot(path_1, IARA.PlotTimeSeriesQuantiles; subperiod = 1:10, agents=["hydro"])
plot_2 = IARA.custom_plot(path_2, IARA.PlotTimeSeriesQuantiles; subperiod = 1:10, agents=["thermal"])
IARA.custom_plot(plot_1, plot_2; title = "Custom Plot")
IARA.custom_plot
— Methodcustom_plot(
filepath::String,
plot_type::Type{<:PlotType};
plot_path::String = "",
agents::Vector{String} = Vector{String}(),
title::String = "Plot",
kwargs...
)
Create a customized plot from a time series file.
- It requires a plot type [
PlotType
] and a file path to a time series file. - The
plot_path
argument is used to set the path where the plot will be saved. If it is not provided, the plot will not be saved. - The
agents
argument is used to filter the agents to be plotted. If it is not provided, all agents will be plotted. - The
title
argument is used to set the title of the plot, which is "Plot" by default. - The
kwargs
arguments are used to filter the time series by its dimensions.
Example:
path = "path/to/file.csv"
IARA.custom_plot(path, PlotTimeSeriesQuantiles; subperiod = 1:10, agents=["hydro"])
IARA.cycle_discount_rate
— Methodcycle_discount_rate(inputs::AbstractInputs)
Return the cycle discount rate.
IARA.cycle_duration_in_hours
— Methodcycle_duration_in_hours(inputs::AbstractInputs)
Return the cycle duration in hours.
IARA.cyclic_policy_graph
— Methodcyclic_policy_graph(inputs::AbstractInputs)
Return whether the policy graph is cyclic.
IARA.dc_flow!
— Methoddc_flow!(outputs, inputs::Inputs, run_time_options::RunTimeOptions, simulation_results::SimulationResultsFromPeriodScenario, period::Int, scenario::Int, subscenario::Int, ::Type{WriteOutput})
Write the DC flow variables' values to the output file.
IARA.dc_flow!
— Methoddc_flow!(outputs::Outputs, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{InitializeOutput})
Initialize output file to store the DC flow variables' values.
IARA.dc_flow!
— Methoddc_flow!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the DC flow variables to the model.
IARA.dc_line_bus_from
— Methoddc_line_bus_from(dc_line::AbstractCollection, i::Integer)
Get the bus_from field from the DCLine collection at index i.
IARA.dc_line_bus_from
— Methoddc_line_bus_from(collections::AbstractCollections, i::Integer)
Get the bus_from field from the DCLine collection at index i.
IARA.dc_line_bus_from
— Methoddc_line_bus_from(collections::AbstractCollections)
Get the bus_from
field from the DCLine
collection.
IARA.dc_line_bus_from
— Methoddc_line_bus_from(dc_line::AbstractCollection)
Get the bus_from
field from the DCLine
collection.
IARA.dc_line_bus_from
— Methoddc_line_bus_from(inputs::AbstractInputs, i::Integer)
Get the bus_from field from the DCLine collection at index i.
IARA.dc_line_bus_from
— Methoddc_line_bus_from(inputs::AbstractInputs)
Get the bus_from
field from the DCLine
collection.
IARA.dc_line_bus_to
— Methoddc_line_bus_to(dc_line::AbstractCollection, i::Integer)
Get the bus_to field from the DCLine collection at index i.
IARA.dc_line_bus_to
— Methoddc_line_bus_to(collections::AbstractCollections, i::Integer)
Get the bus_to field from the DCLine collection at index i.
IARA.dc_line_bus_to
— Methoddc_line_bus_to(collections::AbstractCollections)
Get the bus_to
field from the DCLine
collection.
IARA.dc_line_bus_to
— Methoddc_line_bus_to(dc_line::AbstractCollection)
Get the bus_to
field from the DCLine
collection.
IARA.dc_line_bus_to
— Methoddc_line_bus_to(inputs::AbstractInputs, i::Integer)
Get the bus_to field from the DCLine collection at index i.
IARA.dc_line_bus_to
— Methoddc_line_bus_to(inputs::AbstractInputs)
Get the bus_to
field from the DCLine
collection.
IARA.dc_line_capacity_from
— Methoddc_line_capacity_from(dc_line::AbstractCollection, i::Integer)
Get the capacity_from field from the DCLine collection at index i.
IARA.dc_line_capacity_from
— Methoddc_line_capacity_from(collections::AbstractCollections, i::Integer)
Get the capacity_from field from the DCLine collection at index i.
IARA.dc_line_capacity_from
— Methoddc_line_capacity_from(collections::AbstractCollections)
Get the capacity_from
field from the DCLine
collection.
IARA.dc_line_capacity_from
— Methoddc_line_capacity_from(dc_line::AbstractCollection)
Get the capacity_from
field from the DCLine
collection.
IARA.dc_line_capacity_from
— Methoddc_line_capacity_from(inputs::AbstractInputs, i::Integer)
Get the capacity_from field from the DCLine collection at index i.
IARA.dc_line_capacity_from
— Methoddc_line_capacity_from(inputs::AbstractInputs)
Get the capacity_from
field from the DCLine
collection.
IARA.dc_line_capacity_to
— Methoddc_line_capacity_to(dc_line::AbstractCollection, i::Integer)
Get the capacity_to field from the DCLine collection at index i.
IARA.dc_line_capacity_to
— Methoddc_line_capacity_to(collections::AbstractCollections, i::Integer)
Get the capacity_to field from the DCLine collection at index i.
IARA.dc_line_capacity_to
— Methoddc_line_capacity_to(collections::AbstractCollections)
Get the capacity_to
field from the DCLine
collection.
IARA.dc_line_capacity_to
— Methoddc_line_capacity_to(dc_line::AbstractCollection)
Get the capacity_to
field from the DCLine
collection.
IARA.dc_line_capacity_to
— Methoddc_line_capacity_to(inputs::AbstractInputs, i::Integer)
Get the capacity_to field from the DCLine collection at index i.
IARA.dc_line_capacity_to
— Methoddc_line_capacity_to(inputs::AbstractInputs)
Get the capacity_to
field from the DCLine
collection.
IARA.dc_line_existing
— Methoddc_line_existing(dc_line::AbstractCollection, i::Integer)
Get the existing field from the DCLine collection at index i.
IARA.dc_line_existing
— Methoddc_line_existing(collections::AbstractCollections, i::Integer)
Get the existing field from the DCLine collection at index i.
IARA.dc_line_existing
— Methoddc_line_existing(collections::AbstractCollections)
Get the existing
field from the DCLine
collection.
IARA.dc_line_existing
— Methoddc_line_existing(dc_line::AbstractCollection)
Get the existing
field from the DCLine
collection.
IARA.dc_line_existing
— Methoddc_line_existing(inputs::AbstractInputs, i::Integer)
Get the existing field from the DCLine collection at index i.
IARA.dc_line_existing
— Methoddc_line_existing(inputs::AbstractInputs)
Get the existing
field from the DCLine
collection.
IARA.dc_line_label
— Methoddc_line_label(dc_line::AbstractCollection, i::Integer)
Get the label field from the DCLine collection at index i.
IARA.dc_line_label
— Methoddc_line_label(collections::AbstractCollections, i::Integer)
Get the label field from the DCLine collection at index i.
IARA.dc_line_label
— Methoddc_line_label(collections::AbstractCollections)
Get the label
field from the DCLine
collection.
IARA.dc_line_label
— Methoddc_line_label(dc_line::AbstractCollection)
Get the label
field from the DCLine
collection.
IARA.dc_line_label
— Methoddc_line_label(inputs::AbstractInputs, i::Integer)
Get the label field from the DCLine collection at index i.
IARA.dc_line_label
— Methoddc_line_label(inputs::AbstractInputs)
Get the label
field from the DCLine
collection.
IARA.delete_element!
— Methoddelete_element!(db::DatabaseSQLite, collection::String, label::String)
Deletes an element from a collection in the database.
IARA.demand!
— Methoddemand!(outputs, inputs::Inputs, run_time_options::RunTimeOptions, simulation_results::SimulationResultsFromPeriodScenario, period::Int, scenario::Int, subscenario::Int, ::Type{WriteOutput})
Write the demand and deficit variables' values to the output file.
IARA.demand!
— Methoddemand!(outputs::Outputs, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{InitializeOutput})
Initialize the output file to store the demand and deficit variables' values.
IARA.demand!
— Methoddemand!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, scenario, subscenario, ::Type{SubproblemUpdate})
Updates the demand variables in the model.
IARA.demand!
— Methoddemand!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the demand variables to the model.
IARA.demand_deficit_cost
— Methoddemand_deficit_cost(inputs::AbstractInputs)
Return the deficit cost of demands.
IARA.demand_scenarios_files
— Methoddemand_scenarios_files(inputs::AbstractInputs)
Return which demand scenarios files should be read.
IARA.demand_unit_bidding_group_index
— Methoddemand_unit_bidding_group_index(demand_unit::AbstractCollection, i::Integer)
Get the biddinggroupindex field from the DemandUnit collection at index i.
IARA.demand_unit_bidding_group_index
— Methoddemand_unit_bidding_group_index(collections::AbstractCollections, i::Integer)
Get the biddinggroupindex field from the DemandUnit collection at index i.
IARA.demand_unit_bidding_group_index
— Methoddemand_unit_bidding_group_index(collections::AbstractCollections)
Get the bidding_group_index
field from the DemandUnit
collection.
IARA.demand_unit_bidding_group_index
— Methoddemand_unit_bidding_group_index(demand_unit::AbstractCollection)
Get the bidding_group_index
field from the DemandUnit
collection.
IARA.demand_unit_bidding_group_index
— Methoddemand_unit_bidding_group_index(inputs::AbstractInputs, i::Integer)
Get the biddinggroupindex field from the DemandUnit collection at index i.
IARA.demand_unit_bidding_group_index
— Methoddemand_unit_bidding_group_index(inputs::AbstractInputs)
Get the bidding_group_index
field from the DemandUnit
collection.
IARA.demand_unit_bus_index
— Methoddemand_unit_bus_index(demand_unit::AbstractCollection, i::Integer)
Get the bus_index field from the DemandUnit collection at index i.
IARA.demand_unit_bus_index
— Methoddemand_unit_bus_index(collections::AbstractCollections, i::Integer)
Get the bus_index field from the DemandUnit collection at index i.
IARA.demand_unit_bus_index
— Methoddemand_unit_bus_index(collections::AbstractCollections)
Get the bus_index
field from the DemandUnit
collection.
IARA.demand_unit_bus_index
— Methoddemand_unit_bus_index(demand_unit::AbstractCollection)
Get the bus_index
field from the DemandUnit
collection.
IARA.demand_unit_bus_index
— Methoddemand_unit_bus_index(inputs::AbstractInputs, i::Integer)
Get the bus_index field from the DemandUnit collection at index i.
IARA.demand_unit_bus_index
— Methoddemand_unit_bus_index(inputs::AbstractInputs)
Get the bus_index
field from the DemandUnit
collection.
IARA.demand_unit_curtailment_cost
— Methoddemand_unit_curtailment_cost(demand_unit::AbstractCollection, i::Integer)
Get the curtailment_cost field from the DemandUnit collection at index i.
IARA.demand_unit_curtailment_cost
— Methoddemand_unit_curtailment_cost(collections::AbstractCollections, i::Integer)
Get the curtailment_cost field from the DemandUnit collection at index i.
IARA.demand_unit_curtailment_cost
— Methoddemand_unit_curtailment_cost(collections::AbstractCollections)
Get the curtailment_cost
field from the DemandUnit
collection.
IARA.demand_unit_curtailment_cost
— Methoddemand_unit_curtailment_cost(demand_unit::AbstractCollection)
Get the curtailment_cost
field from the DemandUnit
collection.
IARA.demand_unit_curtailment_cost
— Methoddemand_unit_curtailment_cost(inputs::AbstractInputs, i::Integer)
Get the curtailment_cost field from the DemandUnit collection at index i.
IARA.demand_unit_curtailment_cost
— Methoddemand_unit_curtailment_cost(inputs::AbstractInputs)
Get the curtailment_cost
field from the DemandUnit
collection.
IARA.demand_unit_demand_ex_ante_file
— Methoddemand_unit_demand_ex_ante_file(demand_unit::AbstractCollection, i::Integer)
Get the demandexante_file field from the DemandUnit collection at index i.
IARA.demand_unit_demand_ex_ante_file
— Methoddemand_unit_demand_ex_ante_file(collections::AbstractCollections, i::Integer)
Get the demandexante_file field from the DemandUnit collection at index i.
IARA.demand_unit_demand_ex_ante_file
— Methoddemand_unit_demand_ex_ante_file(collections::AbstractCollections)
Get the demand_ex_ante_file
field from the DemandUnit
collection.
IARA.demand_unit_demand_ex_ante_file
— Methoddemand_unit_demand_ex_ante_file(demand_unit::AbstractCollection)
Get the demand_ex_ante_file
field from the DemandUnit
collection.
IARA.demand_unit_demand_ex_ante_file
— Methoddemand_unit_demand_ex_ante_file(inputs::AbstractInputs, i::Integer)
Get the demandexante_file field from the DemandUnit collection at index i.
IARA.demand_unit_demand_ex_ante_file
— Methoddemand_unit_demand_ex_ante_file(inputs::AbstractInputs)
Get the demand_ex_ante_file
field from the DemandUnit
collection.
IARA.demand_unit_demand_ex_post_file
— Methoddemand_unit_demand_ex_post_file(demand_unit::AbstractCollection, i::Integer)
Get the demandexpost_file field from the DemandUnit collection at index i.
IARA.demand_unit_demand_ex_post_file
— Methoddemand_unit_demand_ex_post_file(collections::AbstractCollections, i::Integer)
Get the demandexpost_file field from the DemandUnit collection at index i.
IARA.demand_unit_demand_ex_post_file
— Methoddemand_unit_demand_ex_post_file(collections::AbstractCollections)
Get the demand_ex_post_file
field from the DemandUnit
collection.
IARA.demand_unit_demand_ex_post_file
— Methoddemand_unit_demand_ex_post_file(demand_unit::AbstractCollection)
Get the demand_ex_post_file
field from the DemandUnit
collection.
IARA.demand_unit_demand_ex_post_file
— Methoddemand_unit_demand_ex_post_file(inputs::AbstractInputs, i::Integer)
Get the demandexpost_file field from the DemandUnit collection at index i.
IARA.demand_unit_demand_ex_post_file
— Methoddemand_unit_demand_ex_post_file(inputs::AbstractInputs)
Get the demand_ex_post_file
field from the DemandUnit
collection.
IARA.demand_unit_demand_unit_type
— Methoddemand_unit_demand_unit_type(demand_unit::AbstractCollection, i::Integer)
Get the demandunittype field from the DemandUnit collection at index i.
IARA.demand_unit_demand_unit_type
— Methoddemand_unit_demand_unit_type(collections::AbstractCollections, i::Integer)
Get the demandunittype field from the DemandUnit collection at index i.
IARA.demand_unit_demand_unit_type
— Methoddemand_unit_demand_unit_type(collections::AbstractCollections)
Get the demand_unit_type
field from the DemandUnit
collection.
IARA.demand_unit_demand_unit_type
— Methoddemand_unit_demand_unit_type(demand_unit::AbstractCollection)
Get the demand_unit_type
field from the DemandUnit
collection.
IARA.demand_unit_demand_unit_type
— Methoddemand_unit_demand_unit_type(inputs::AbstractInputs, i::Integer)
Get the demandunittype field from the DemandUnit collection at index i.
IARA.demand_unit_demand_unit_type
— Methoddemand_unit_demand_unit_type(inputs::AbstractInputs)
Get the demand_unit_type
field from the DemandUnit
collection.
IARA.demand_unit_elastic_demand_price_file
— Methoddemand_unit_elastic_demand_price_file(demand_unit::AbstractCollection, i::Integer)
Get the elasticdemandprice_file field from the DemandUnit collection at index i.
IARA.demand_unit_elastic_demand_price_file
— Methoddemand_unit_elastic_demand_price_file(collections::AbstractCollections, i::Integer)
Get the elasticdemandprice_file field from the DemandUnit collection at index i.
IARA.demand_unit_elastic_demand_price_file
— Methoddemand_unit_elastic_demand_price_file(collections::AbstractCollections)
Get the elastic_demand_price_file
field from the DemandUnit
collection.
IARA.demand_unit_elastic_demand_price_file
— Methoddemand_unit_elastic_demand_price_file(demand_unit::AbstractCollection)
Get the elastic_demand_price_file
field from the DemandUnit
collection.
IARA.demand_unit_elastic_demand_price_file
— Methoddemand_unit_elastic_demand_price_file(inputs::AbstractInputs, i::Integer)
Get the elasticdemandprice_file field from the DemandUnit collection at index i.
IARA.demand_unit_elastic_demand_price_file
— Methoddemand_unit_elastic_demand_price_file(inputs::AbstractInputs)
Get the elastic_demand_price_file
field from the DemandUnit
collection.
IARA.demand_unit_existing
— Methoddemand_unit_existing(demand_unit::AbstractCollection, i::Integer)
Get the existing field from the DemandUnit collection at index i.
IARA.demand_unit_existing
— Methoddemand_unit_existing(collections::AbstractCollections, i::Integer)
Get the existing field from the DemandUnit collection at index i.
IARA.demand_unit_existing
— Methoddemand_unit_existing(collections::AbstractCollections)
Get the existing
field from the DemandUnit
collection.
IARA.demand_unit_existing
— Methoddemand_unit_existing(demand_unit::AbstractCollection)
Get the existing
field from the DemandUnit
collection.
IARA.demand_unit_existing
— Methoddemand_unit_existing(inputs::AbstractInputs, i::Integer)
Get the existing field from the DemandUnit collection at index i.
IARA.demand_unit_existing
— Methoddemand_unit_existing(inputs::AbstractInputs)
Get the existing
field from the DemandUnit
collection.
IARA.demand_unit_label
— Methoddemand_unit_label(demand_unit::AbstractCollection, i::Integer)
Get the label field from the DemandUnit collection at index i.
IARA.demand_unit_label
— Methoddemand_unit_label(collections::AbstractCollections, i::Integer)
Get the label field from the DemandUnit collection at index i.
IARA.demand_unit_label
— Methoddemand_unit_label(collections::AbstractCollections)
Get the label
field from the DemandUnit
collection.
IARA.demand_unit_label
— Methoddemand_unit_label(demand_unit::AbstractCollection)
Get the label
field from the DemandUnit
collection.
IARA.demand_unit_label
— Methoddemand_unit_label(inputs::AbstractInputs, i::Integer)
Get the label field from the DemandUnit collection at index i.
IARA.demand_unit_label
— Methoddemand_unit_label(inputs::AbstractInputs)
Get the label
field from the DemandUnit
collection.
IARA.demand_unit_max_curtailment
— Methoddemand_unit_max_curtailment(demand_unit::AbstractCollection, i::Integer)
Get the max_curtailment field from the DemandUnit collection at index i.
IARA.demand_unit_max_curtailment
— Methoddemand_unit_max_curtailment(collections::AbstractCollections, i::Integer)
Get the max_curtailment field from the DemandUnit collection at index i.
IARA.demand_unit_max_curtailment
— Methoddemand_unit_max_curtailment(collections::AbstractCollections)
Get the max_curtailment
field from the DemandUnit
collection.
IARA.demand_unit_max_curtailment
— Methoddemand_unit_max_curtailment(demand_unit::AbstractCollection)
Get the max_curtailment
field from the DemandUnit
collection.
IARA.demand_unit_max_curtailment
— Methoddemand_unit_max_curtailment(inputs::AbstractInputs, i::Integer)
Get the max_curtailment field from the DemandUnit collection at index i.
IARA.demand_unit_max_curtailment
— Methoddemand_unit_max_curtailment(inputs::AbstractInputs)
Get the max_curtailment
field from the DemandUnit
collection.
IARA.demand_unit_max_demand
— Methoddemand_unit_max_demand(demand_unit::AbstractCollection, i::Integer)
Get the max_demand field from the DemandUnit collection at index i.
IARA.demand_unit_max_demand
— Methoddemand_unit_max_demand(collections::AbstractCollections, i::Integer)
Get the max_demand field from the DemandUnit collection at index i.
IARA.demand_unit_max_demand
— Methoddemand_unit_max_demand(collections::AbstractCollections)
Get the max_demand
field from the DemandUnit
collection.
IARA.demand_unit_max_demand
— Methoddemand_unit_max_demand(demand_unit::AbstractCollection)
Get the max_demand
field from the DemandUnit
collection.
IARA.demand_unit_max_demand
— Methoddemand_unit_max_demand(inputs::AbstractInputs, i::Integer)
Get the max_demand field from the DemandUnit collection at index i.
IARA.demand_unit_max_demand
— Methoddemand_unit_max_demand(inputs::AbstractInputs)
Get the max_demand
field from the DemandUnit
collection.
IARA.demand_unit_max_shift_down
— Methoddemand_unit_max_shift_down(demand_unit::AbstractCollection, i::Integer)
Get the maxshiftdown field from the DemandUnit collection at index i.
IARA.demand_unit_max_shift_down
— Methoddemand_unit_max_shift_down(collections::AbstractCollections, i::Integer)
Get the maxshiftdown field from the DemandUnit collection at index i.
IARA.demand_unit_max_shift_down
— Methoddemand_unit_max_shift_down(collections::AbstractCollections)
Get the max_shift_down
field from the DemandUnit
collection.
IARA.demand_unit_max_shift_down
— Methoddemand_unit_max_shift_down(demand_unit::AbstractCollection)
Get the max_shift_down
field from the DemandUnit
collection.
IARA.demand_unit_max_shift_down
— Methoddemand_unit_max_shift_down(inputs::AbstractInputs, i::Integer)
Get the maxshiftdown field from the DemandUnit collection at index i.
IARA.demand_unit_max_shift_down
— Methoddemand_unit_max_shift_down(inputs::AbstractInputs)
Get the max_shift_down
field from the DemandUnit
collection.
IARA.demand_unit_max_shift_up
— Methoddemand_unit_max_shift_up(demand_unit::AbstractCollection, i::Integer)
Get the maxshiftup field from the DemandUnit collection at index i.
IARA.demand_unit_max_shift_up
— Methoddemand_unit_max_shift_up(collections::AbstractCollections, i::Integer)
Get the maxshiftup field from the DemandUnit collection at index i.
IARA.demand_unit_max_shift_up
— Methoddemand_unit_max_shift_up(collections::AbstractCollections)
Get the max_shift_up
field from the DemandUnit
collection.
IARA.demand_unit_max_shift_up
— Methoddemand_unit_max_shift_up(demand_unit::AbstractCollection)
Get the max_shift_up
field from the DemandUnit
collection.
IARA.demand_unit_max_shift_up
— Methoddemand_unit_max_shift_up(inputs::AbstractInputs, i::Integer)
Get the maxshiftup field from the DemandUnit collection at index i.
IARA.demand_unit_max_shift_up
— Methoddemand_unit_max_shift_up(inputs::AbstractInputs)
Get the max_shift_up
field from the DemandUnit
collection.
IARA.demand_unit_window_file
— Methoddemand_unit_window_file(demand_unit::AbstractCollection, i::Integer)
Get the window_file field from the DemandUnit collection at index i.
IARA.demand_unit_window_file
— Methoddemand_unit_window_file(collections::AbstractCollections, i::Integer)
Get the window_file field from the DemandUnit collection at index i.
IARA.demand_unit_window_file
— Methoddemand_unit_window_file(collections::AbstractCollections)
Get the window_file
field from the DemandUnit
collection.
IARA.demand_unit_window_file
— Methoddemand_unit_window_file(demand_unit::AbstractCollection)
Get the window_file
field from the DemandUnit
collection.
IARA.demand_unit_window_file
— Methoddemand_unit_window_file(inputs::AbstractInputs, i::Integer)
Get the window_file field from the DemandUnit collection at index i.
IARA.demand_unit_window_file
— Methoddemand_unit_window_file(inputs::AbstractInputs)
Get the window_file
field from the DemandUnit
collection.
IARA.elastic_demand!
— Methodelastic_demand!(outputs, inputs::Inputs, run_time_options::RunTimeOptions, simulation_results::SimulationResultsFromPeriodScenario, period::Int, scenario::Int, subscenario::Int, ::Type{WriteOutput})
Write the attended elastic demand to the output file.
IARA.elastic_demand!
— Methodelastic_demand!(outputs::Outputs, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{InitializeOutput})
Initialize the output file to store the attended elastic demand.
IARA.elastic_demand!
— Methodelastic_demand!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, scenario, subscenario, ::Type{SubproblemUpdate})
Updates the elastic demand variables in the model.
IARA.elastic_demand!
— Methodelastic_demand!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the elastic demand variables to the model.
IARA.elastic_demand_bounds!
— Methodelastic_demand_bounds!(
model,
inputs,
run_time_options,
::Type{SubproblemBuild},
)
Add the elastic demand bounds constraints to the model.
IARA.elastic_demand_labels
— Methodelastic_demand_labels(inputs::AbstractInputs)
Return the labels of elastic Demands.
IARA.expected_number_of_repeats_per_node
— Methodexpected_number_of_repeats_per_node(inputs::AbstractInputs, node::Int)
Return the expected number of repeats for a given node.
IARA.expected_number_of_repeats_per_node
— Methodexpected_number_of_repeats_per_node(inputs::AbstractInputs)
Return the expected number of repeats per node.
IARA.fcf_cuts_file
— Methodfcf_cuts_file(inputs::AbstractInputs)
Return the file with the FCF cuts.
IARA.fcf_cuts_path
— Methodfcf_cuts_path(inputs::AbstractInputs)
Return the path to the FCF cuts file.
IARA.finalize_clearing_outputs!
— Methodfinalize_clearing_outputs!(heuristic_bids_outputs::Outputs, ex_ante_physical_outputs::Outputs, ex_ante_commercial_outputs::Outputs, ex_post_physical_outputs::Outputs, ex_post_commercial_outputs::Outputs)
Finalize the outputs for the clearing subproblem.
IARA.fix_discrete_variables_from_previous_problem!
— Methodfix_discrete_variables_from_previous_problem!(inputs::Inputs, run_time_options::RunTimeOptions, model::JuMP.Model, period::Int, scen::Int)
Fix discrete variables from the previous problem.
IARA.flexible_demand!
— Methodflexible_demand!(outputs, inputs::Inputs, run_time_options::RunTimeOptions, simulation_results::SimulationResultsFromPeriodScenario, period::Int, scenario::Int, subscenario::Int, ::Type{WriteOutput})
Write the attended flexible demand and demand curtailment variables' values to the output file.
IARA.flexible_demand!
— Methodflexible_demand!(outputs::Outputs, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{InitializeOutput})
Initialize the output file to store the attended flexible demand and demand curtailment variables' values.
IARA.flexible_demand!
— Methodflexible_demand!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the flexible demand variables to the model.
IARA.flexible_demand_labels
— Methodflexible_demand_labels(inputs::AbstractInputs)
Return the labels of flexible Demands.
IARA.flexible_demand_shift_bounds!
— Methodflexible_demand_shift_bounds!(
model,
inputs,
run_time_options,
::Type{SubproblemBuild},
)
Add the flexible demand shift bounds constraints to the model.
IARA.flexible_demand_window_maximum_curtailment!
— Methodflexible_demand_window_maximum_curtailment!(
model,
inputs,
run_time_options,
::Type{SubproblemBuild},
)
Add the flexible demand window maximum curtailment constraints to the model.
IARA.flexible_demand_window_sum!
— Methodflexible_demand_window_sum!(
model,
inputs,
run_time_options,
::Type{SubproblemBuild},
)
Add the flexible demand window sum constraints to the model.
IARA.gather_outputs_separated_by_asset_owners
— Methodgather_outputs_separated_by_asset_owners(inputs::Inputs)
Gather outputs separated by asset owners.
IARA.gauging_station_downstream_index
— Methodgauging_station_downstream_index(gauging_station::AbstractCollection, i::Integer)
Get the downstream_index field from the GaugingStation collection at index i.
IARA.gauging_station_downstream_index
— Methodgauging_station_downstream_index(collections::AbstractCollections, i::Integer)
Get the downstream_index field from the GaugingStation collection at index i.
IARA.gauging_station_downstream_index
— Methodgauging_station_downstream_index(collections::AbstractCollections)
Get the downstream_index
field from the GaugingStation
collection.
IARA.gauging_station_downstream_index
— Methodgauging_station_downstream_index(gauging_station::AbstractCollection)
Get the downstream_index
field from the GaugingStation
collection.
IARA.gauging_station_downstream_index
— Methodgauging_station_downstream_index(inputs::AbstractInputs, i::Integer)
Get the downstream_index field from the GaugingStation collection at index i.
IARA.gauging_station_downstream_index
— Methodgauging_station_downstream_index(inputs::AbstractInputs)
Get the downstream_index
field from the GaugingStation
collection.
IARA.gauging_station_historical_inflow
— Methodgauging_station_historical_inflow(gauging_station::AbstractCollection, i::Integer)
Get the historical_inflow field from the GaugingStation collection at index i.
IARA.gauging_station_historical_inflow
— Methodgauging_station_historical_inflow(collections::AbstractCollections, i::Integer)
Get the historical_inflow field from the GaugingStation collection at index i.
IARA.gauging_station_historical_inflow
— Methodgauging_station_historical_inflow(collections::AbstractCollections)
Get the historical_inflow
field from the GaugingStation
collection.
IARA.gauging_station_historical_inflow
— Methodgauging_station_historical_inflow(gauging_station::AbstractCollection)
Get the historical_inflow
field from the GaugingStation
collection.
IARA.gauging_station_historical_inflow
— Methodgauging_station_historical_inflow(inputs::AbstractInputs, i::Integer)
Get the historical_inflow field from the GaugingStation collection at index i.
IARA.gauging_station_historical_inflow
— Methodgauging_station_historical_inflow(inputs::AbstractInputs)
Get the historical_inflow
field from the GaugingStation
collection.
IARA.gauging_station_inflow_file
— Methodgauging_station_inflow_file(inputs::AbstractInputs)
Return the inflow time series file for all gauging stations.
IARA.gauging_station_inflow_initial_state
— Methodgauging_station_inflow_initial_state(gauging_station::AbstractCollection, i::Integer)
Get the inflowinitialstate field from the GaugingStation collection at index i.
IARA.gauging_station_inflow_initial_state
— Methodgauging_station_inflow_initial_state(collections::AbstractCollections, i::Integer)
Get the inflowinitialstate field from the GaugingStation collection at index i.
IARA.gauging_station_inflow_initial_state
— Methodgauging_station_inflow_initial_state(collections::AbstractCollections)
Get the inflow_initial_state
field from the GaugingStation
collection.
IARA.gauging_station_inflow_initial_state
— Methodgauging_station_inflow_initial_state(gauging_station::AbstractCollection)
Get the inflow_initial_state
field from the GaugingStation
collection.
IARA.gauging_station_inflow_initial_state
— Methodgauging_station_inflow_initial_state(inputs::AbstractInputs, i::Integer)
Get the inflowinitialstate field from the GaugingStation collection at index i.
IARA.gauging_station_inflow_initial_state
— Methodgauging_station_inflow_initial_state(inputs::AbstractInputs)
Get the inflow_initial_state
field from the GaugingStation
collection.
IARA.gauging_station_inflow_noise_file
— Methodgauging_station_inflow_noise_file(inputs::AbstractInputs)
Return the inflow noise time series file for all gauging stations.
IARA.gauging_station_inflow_period_average_file
— Methodgauging_station_inflow_period_average_file(inputs::AbstractInputs)
Return the period average inflow time series file for all gauging stations.
IARA.gauging_station_inflow_period_std_dev_file
— Methodgauging_station_inflow_period_std_dev_file(inputs::AbstractInputs)
Return the period standard deviation inflow time series file for all gauging stations.
IARA.gauging_station_label
— Methodgauging_station_label(gauging_station::AbstractCollection, i::Integer)
Get the label field from the GaugingStation collection at index i.
IARA.gauging_station_label
— Methodgauging_station_label(collections::AbstractCollections, i::Integer)
Get the label field from the GaugingStation collection at index i.
IARA.gauging_station_label
— Methodgauging_station_label(collections::AbstractCollections)
Get the label
field from the GaugingStation
collection.
IARA.gauging_station_label
— Methodgauging_station_label(gauging_station::AbstractCollection)
Get the label
field from the GaugingStation
collection.
IARA.gauging_station_label
— Methodgauging_station_label(inputs::AbstractInputs, i::Integer)
Get the label field from the GaugingStation collection at index i.
IARA.gauging_station_label
— Methodgauging_station_label(inputs::AbstractInputs)
Get the label
field from the GaugingStation
collection.
IARA.gauging_station_parp_coefficients_file
— Methodgauging_station_parp_coefficients_file(inputs::AbstractInputs)
Return the PAR(p) coefficients time series file for all gauging stations.
IARA.generate_heuristic_bids_for_clearing
— Methodgenerate_heuristic_bids_for_clearing(inputs::AbstractInputs)
Return whether heuristic bids should be generated for clearing.
IARA.generate_inflow_scenarios
— Methodgenerate_inflow_scenarios(inputs::Inputs)
Generate inflow scenarios for the optimization problem.
IARA.get_collection
— Methodget_collection(inputs::Inputs, collection::Type{<:AbstractCollection})
Returns a IARA.Collection
of the specified type from the inputs.
Example:
IARA.get_collection(inputs, IARA.BiddingGroup)
IARA.get_model_object
— Methodget_model_object(sp_model::SubproblemModel, object_name::Symbol)
Retrieve an object (variable, constraint or expression) from the sp_model
's JuMP model using the provided object_name
. This allows flexible access to model components by name.
IARA.get_model_object
— Methodget_model_object(jump_model::Model, object_name::Symbol)
Retrieve an object (variable, constraint or expression) from the jump_model
using the provided object_name
. This allows flexible access to model components by name.
IARA.get_spot_prices
— Methodget_spot_prices(reader, bus_collection, generation_labels, network_representation)
Get spot prices for all bidding groups based on the network representation.
Arguments
reader
: The reader containing spot price databus_collection
: The bus collection with zone indices and labelsgeneration_labels
: Array of generation labels in format "bgX - busY"network_representation
: The network representation type (ZONAL or NODAL)
Returns
- Vector of spot prices corresponding to each generation label
IARA.has_any_profile_complex_bids
— Methodhas_any_profile_complex_bids(inputs::AbstractInputs)
Return true if the bidding group has any profile complex input files.
IARA.has_any_profile_complex_input_files
— Methodhas_any_profile_complex_input_files(inputs::AbstractInputs)
Return true if the bidding group has any profile complex input files.
IARA.has_commitment
— Methodhas_commitment(hydro_unit::HydroUnit, idx::Int)
Check if the Hydro Unit at index 'idx' has commitment.
IARA.has_commitment
— Methodhas_commitment(thermal_unit::ThermalUnit, idx::Int)
Check if the Thermal Unit at index 'idx' has commitment.
IARA.has_commitment_initial_condition
— Methodhas_commitment_initial_condition(thermal_unit::ThermalUnit, idx::Int)
Check if the Thermal Unit at index 'idx' has commitment initial condition.
IARA.has_complementary_grouping_profile
— Methodhas_complementary_grouping_profile(complementary_grouping_profile_set::Array{Int, 1})
Returns true if the complementary grouping profile set has at least one element equal to 1.
IARA.has_fcf_cuts_to_read
— Methodhas_fcf_cuts(inputs::AbstractInputs)
Return whether the FCF cuts file is defined.
IARA.has_hour_subperiod_map
— Methodhas_hour_subperiod_map(inputs::AbstractInputs)
Return whether the hour to subperiod map file is defined.
IARA.has_min_outflow
— Methodhas_min_outflow(hydro_unit::HydroUnit, idx::Int)
Check if the Hydro Unit at index 'idx' has a minimum outflow.
IARA.has_period_season_map_file
— Methodhas_period_season_map_file(inputs::AbstractInputs)
Return whether the period to season map file is defined.
IARA.has_ramp_constraints
— Methodhas_ramp_constraints(thermal_unit::ThermalUnit, idx::Int)
Check if the Thermal Unit at index 'idx' has ramp constraints.
IARA.hour_subperiod_map
— Methodhour_subperiod_map(inputs)
Return a vector of integers mapping each hour to a single subperiod.
IARA.hour_subperiod_map_file
— Methodhour_subperiod_map_file(inputs::AbstractInputs)
Return the file with the hour to subperiod map.
IARA.hydro_available_energy
— Methodhydro_available_energy(
inputs::Inputs,
run_time_options::RunTimeOptions,
period::Int,
scenario::Int
)
Calculate the available energy for each hydro unit in a given period and scenario.
IARA.hydro_balance!
— Methodhydro_balance!(
outputs,
inputs,
run_time_options,
simulation_results,
period,
scenario,
subscenario,
::Type{WriteOutput},
)
Write the hydro opportunity cost to the output file.
IARA.hydro_balance!
— Methodhydro_balance!(
outputs,
inputs,
run_time_options,
::Type{InitializeOutput},
)
Initialize the output file for:
hydro_opportunity_cost
IARA.hydro_balance!
— Methodhydro_balance!(
model,
inputs,
run_time_options,
::Type{SubproblemBuild},
)
Add the hydro balance constraints to the model.
IARA.hydro_balance_aggregated_subperiods
— Methodhydro_balance_aggregated_subperiods(
model,
inputs,
run_time_options,
)
Add the hydro balance constraints to the model for the aggregated subperiods resolution.
IARA.hydro_balance_chronological_subperiods
— Methodhydro_balance_chronological_subperiods(
model,
inputs,
run_time_options,
)
Add the hydro balance constraints to the model for the chronological subperiods resolution.
IARA.hydro_balance_subperiod_resolution
— Methodhydro_balance_subperiod_resolution(inputs::AbstractInputs)
Return the hydro balance subperiod resolution.
IARA.hydro_commitment!
— Methodhydro_commitment!(outputs, inputs::Inputs, run_time_options::RunTimeOptions, simulation_results::SimulationResultsFromPeriodScenario, period::Int, scenario::Int, subscenario::Int, ::Type{WriteOutput})
Write the hydro unit commitment variables' values to the output file.
IARA.hydro_commitment!
— Methodhydro_commitment!(outputs::Outputs, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{InitializeOutput})
Initialize output file to store the hydro unit commitment variables' values.
IARA.hydro_commitment!
— Methodhydro_commitment!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the hydro unit commitment variables to the model.
IARA.hydro_generation!
— Methodhydro_generation!(outputs, inputs::Inputs, run_time_options::RunTimeOptions, simulation_results::SimulationResultsFromPeriodScenario, period::Int, scenario::Int, subscenario::Int, ::Type{WriteOutput})
Write the results for hydro
- turbining
- spillage
- generation
- spillage penalty
- minimum outflow slack
- minimum outflow violation cost expression
IARA.hydro_generation!
— Methodhydro_generation!(outputs::Outputs, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{InitializeOutput})
Initialize the output files to store results for hydro
- turbining
- spillage
- generation
- spillage penalty
- minimum outflow slack
- minimum outflow violation cost expression
IARA.hydro_generation!
— Methodhydro_generation!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the hydro generation variables to the model.
IARA.hydro_generation_bound_by_commitment!
— Methodhydro_generation_bound_by_commitment!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the hydro generation bound by commitment constraints to the model.
IARA.hydro_inflow!
— Methodhydro_inflow!(outputs, inputs::Inputs, run_time_options::RunTimeOptions, simulation_results::SimulationResultsFromPeriodScenario, period::Int, scenario::Int, subscenario::Int, ::Type{WriteOutput})
Write the inflow and inflow_slack values to the output file.
IARA.hydro_inflow!
— Methodhydro_inflow!(outputs::Outputs, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{InitializeOutput})
Initialize the output files for
- inflow
- inflow_slack
IARA.hydro_inflow!
— Methodhydro_inflow!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, scenario, subscenario, ::Type{SubproblemUpdate})
Updates the hydro inflow variables in the model.
IARA.hydro_inflow!
— Methodhydro_inflow!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the hydro inflow variables to the model.
IARA.hydro_minimum_outflow!
— Methodhydro_minimum_outflow!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the hydro minimum outflow constraints to the model.
IARA.hydro_minimum_outflow_violation_cost
— Methodhydro_minimum_outflow_violation_cost(inputs::AbstractInputs)
Return the cost of violating the minimum outflow in hydro units.
IARA.hydro_spillage_cost
— Methodhydro_spillage_cost(inputs::AbstractInputs)
Return the cost of spilling water in hydro units.
IARA.hydro_unit_bidding_group_index
— Methodhydro_unit_bidding_group_index(hydro_unit::AbstractCollection, i::Integer)
Get the biddinggroupindex field from the HydroUnit collection at index i.
IARA.hydro_unit_bidding_group_index
— Methodhydro_unit_bidding_group_index(collections::AbstractCollections, i::Integer)
Get the biddinggroupindex field from the HydroUnit collection at index i.
IARA.hydro_unit_bidding_group_index
— Methodhydro_unit_bidding_group_index(collections::AbstractCollections)
Get the bidding_group_index
field from the HydroUnit
collection.
IARA.hydro_unit_bidding_group_index
— Methodhydro_unit_bidding_group_index(hydro_unit::AbstractCollection)
Get the bidding_group_index
field from the HydroUnit
collection.
IARA.hydro_unit_bidding_group_index
— Methodhydro_unit_bidding_group_index(inputs::AbstractInputs, i::Integer)
Get the biddinggroupindex field from the HydroUnit collection at index i.
IARA.hydro_unit_bidding_group_index
— Methodhydro_unit_bidding_group_index(inputs::AbstractInputs)
Get the bidding_group_index
field from the HydroUnit
collection.
IARA.hydro_unit_bus_index
— Methodhydro_unit_bus_index(hydro_unit::AbstractCollection, i::Integer)
Get the bus_index field from the HydroUnit collection at index i.
IARA.hydro_unit_bus_index
— Methodhydro_unit_bus_index(collections::AbstractCollections, i::Integer)
Get the bus_index field from the HydroUnit collection at index i.
IARA.hydro_unit_bus_index
— Methodhydro_unit_bus_index(collections::AbstractCollections)
Get the bus_index
field from the HydroUnit
collection.
IARA.hydro_unit_bus_index
— Methodhydro_unit_bus_index(hydro_unit::AbstractCollection)
Get the bus_index
field from the HydroUnit
collection.
IARA.hydro_unit_bus_index
— Methodhydro_unit_bus_index(inputs::AbstractInputs, i::Integer)
Get the bus_index field from the HydroUnit collection at index i.
IARA.hydro_unit_bus_index
— Methodhydro_unit_bus_index(inputs::AbstractInputs)
Get the bus_index
field from the HydroUnit
collection.
IARA.hydro_unit_downstream_cumulative_production_factor
— Methodhydro_unit_downstream_cumulative_production_factor(inputs::AbstractInputs, idx::Int)
Get the sum of production factors for the Hydro Unit at index 'idx' and all plants downstream from it.
IARA.hydro_unit_existing
— Methodhydro_unit_existing(hydro_unit::AbstractCollection, i::Integer)
Get the existing field from the HydroUnit collection at index i.
IARA.hydro_unit_existing
— Methodhydro_unit_existing(collections::AbstractCollections, i::Integer)
Get the existing field from the HydroUnit collection at index i.
IARA.hydro_unit_existing
— Methodhydro_unit_existing(collections::AbstractCollections)
Get the existing
field from the HydroUnit
collection.
IARA.hydro_unit_existing
— Methodhydro_unit_existing(hydro_unit::AbstractCollection)
Get the existing
field from the HydroUnit
collection.
IARA.hydro_unit_existing
— Methodhydro_unit_existing(inputs::AbstractInputs, i::Integer)
Get the existing field from the HydroUnit collection at index i.
IARA.hydro_unit_existing
— Methodhydro_unit_existing(inputs::AbstractInputs)
Get the existing
field from the HydroUnit
collection.
IARA.hydro_unit_gauging_station_index
— Methodhydro_unit_gauging_station_index(hydro_unit::AbstractCollection, i::Integer)
Get the gaugingstationindex field from the HydroUnit collection at index i.
IARA.hydro_unit_gauging_station_index
— Methodhydro_unit_gauging_station_index(collections::AbstractCollections, i::Integer)
Get the gaugingstationindex field from the HydroUnit collection at index i.
IARA.hydro_unit_gauging_station_index
— Methodhydro_unit_gauging_station_index(collections::AbstractCollections)
Get the gauging_station_index
field from the HydroUnit
collection.
IARA.hydro_unit_gauging_station_index
— Methodhydro_unit_gauging_station_index(hydro_unit::AbstractCollection)
Get the gauging_station_index
field from the HydroUnit
collection.
IARA.hydro_unit_gauging_station_index
— Methodhydro_unit_gauging_station_index(inputs::AbstractInputs, i::Integer)
Get the gaugingstationindex field from the HydroUnit collection at index i.
IARA.hydro_unit_gauging_station_index
— Methodhydro_unit_gauging_station_index(inputs::AbstractInputs)
Get the gauging_station_index
field from the HydroUnit
collection.
IARA.hydro_unit_generation_file
— Methodhydro_unit_generation_file(inputs::AbstractInputs)
Return the hydro generation time series file for all hydro units.
IARA.hydro_unit_has_commitment
— Methodhydro_unit_has_commitment(hydro_unit::AbstractCollection, i::Integer)
Get the has_commitment field from the HydroUnit collection at index i.
IARA.hydro_unit_has_commitment
— Methodhydro_unit_has_commitment(collections::AbstractCollections, i::Integer)
Get the has_commitment field from the HydroUnit collection at index i.
IARA.hydro_unit_has_commitment
— Methodhydro_unit_has_commitment(collections::AbstractCollections)
Get the has_commitment
field from the HydroUnit
collection.
IARA.hydro_unit_has_commitment
— Methodhydro_unit_has_commitment(hydro_unit::AbstractCollection)
Get the has_commitment
field from the HydroUnit
collection.
IARA.hydro_unit_has_commitment
— Methodhydro_unit_has_commitment(inputs::AbstractInputs, i::Integer)
Get the has_commitment field from the HydroUnit collection at index i.
IARA.hydro_unit_has_commitment
— Methodhydro_unit_has_commitment(inputs::AbstractInputs)
Get the has_commitment
field from the HydroUnit
collection.
IARA.hydro_unit_inflow_ex_ante_file
— Methodhydro_unit_inflow_ex_ante_file(hydro_unit::AbstractCollection, i::Integer)
Get the inflowexante_file field from the HydroUnit collection at index i.
IARA.hydro_unit_inflow_ex_ante_file
— Methodhydro_unit_inflow_ex_ante_file(collections::AbstractCollections, i::Integer)
Get the inflowexante_file field from the HydroUnit collection at index i.
IARA.hydro_unit_inflow_ex_ante_file
— Methodhydro_unit_inflow_ex_ante_file(collections::AbstractCollections)
Get the inflow_ex_ante_file
field from the HydroUnit
collection.
IARA.hydro_unit_inflow_ex_ante_file
— Methodhydro_unit_inflow_ex_ante_file(hydro_unit::AbstractCollection)
Get the inflow_ex_ante_file
field from the HydroUnit
collection.
IARA.hydro_unit_inflow_ex_ante_file
— Methodhydro_unit_inflow_ex_ante_file(inputs::AbstractInputs, i::Integer)
Get the inflowexante_file field from the HydroUnit collection at index i.
IARA.hydro_unit_inflow_ex_ante_file
— Methodhydro_unit_inflow_ex_ante_file(inputs::AbstractInputs)
Get the inflow_ex_ante_file
field from the HydroUnit
collection.
IARA.hydro_unit_inflow_ex_post_file
— Methodhydro_unit_inflow_ex_post_file(hydro_unit::AbstractCollection, i::Integer)
Get the inflowexpost_file field from the HydroUnit collection at index i.
IARA.hydro_unit_inflow_ex_post_file
— Methodhydro_unit_inflow_ex_post_file(collections::AbstractCollections, i::Integer)
Get the inflowexpost_file field from the HydroUnit collection at index i.
IARA.hydro_unit_inflow_ex_post_file
— Methodhydro_unit_inflow_ex_post_file(collections::AbstractCollections)
Get the inflow_ex_post_file
field from the HydroUnit
collection.
IARA.hydro_unit_inflow_ex_post_file
— Methodhydro_unit_inflow_ex_post_file(hydro_unit::AbstractCollection)
Get the inflow_ex_post_file
field from the HydroUnit
collection.
IARA.hydro_unit_inflow_ex_post_file
— Methodhydro_unit_inflow_ex_post_file(inputs::AbstractInputs, i::Integer)
Get the inflowexpost_file field from the HydroUnit collection at index i.
IARA.hydro_unit_inflow_ex_post_file
— Methodhydro_unit_inflow_ex_post_file(inputs::AbstractInputs)
Get the inflow_ex_post_file
field from the HydroUnit
collection.
IARA.hydro_unit_initial_volume
— Methodhydro_unit_initial_volume(hydro_unit::AbstractCollection, i::Integer)
Get the initial_volume field from the HydroUnit collection at index i.
IARA.hydro_unit_initial_volume
— Methodhydro_unit_initial_volume(collections::AbstractCollections, i::Integer)
Get the initial_volume field from the HydroUnit collection at index i.
IARA.hydro_unit_initial_volume
— Methodhydro_unit_initial_volume(collections::AbstractCollections)
Get the initial_volume
field from the HydroUnit
collection.
IARA.hydro_unit_initial_volume
— Methodhydro_unit_initial_volume(hydro_unit::AbstractCollection)
Get the initial_volume
field from the HydroUnit
collection.
IARA.hydro_unit_initial_volume
— Methodhydro_unit_initial_volume(inputs::AbstractInputs, idx::Int)
Get the initial volume for the Hydro Unit at index 'idx'.
IARA.hydro_unit_initial_volume
— Methodhydro_unit_initial_volume(inputs::AbstractInputs, i::Integer)
Get the initial_volume field from the HydroUnit collection at index i.
IARA.hydro_unit_initial_volume
— Methodhydro_unit_initial_volume(inputs::AbstractInputs)
Get the initial_volume
field from the HydroUnit
collection.
IARA.hydro_unit_initial_volume_type
— Methodhydro_unit_initial_volume_type(hydro_unit::AbstractCollection, i::Integer)
Get the initialvolumetype field from the HydroUnit collection at index i.
IARA.hydro_unit_initial_volume_type
— Methodhydro_unit_initial_volume_type(collections::AbstractCollections, i::Integer)
Get the initialvolumetype field from the HydroUnit collection at index i.
IARA.hydro_unit_initial_volume_type
— Methodhydro_unit_initial_volume_type(collections::AbstractCollections)
Get the initial_volume_type
field from the HydroUnit
collection.
IARA.hydro_unit_initial_volume_type
— Methodhydro_unit_initial_volume_type(hydro_unit::AbstractCollection)
Get the initial_volume_type
field from the HydroUnit
collection.
IARA.hydro_unit_initial_volume_type
— Methodhydro_unit_initial_volume_type(inputs::AbstractInputs, i::Integer)
Get the initialvolumetype field from the HydroUnit collection at index i.
IARA.hydro_unit_initial_volume_type
— Methodhydro_unit_initial_volume_type(inputs::AbstractInputs)
Get the initial_volume_type
field from the HydroUnit
collection.
IARA.hydro_unit_is_associated_with_some_virtual_reservoir
— Methodhydro_unit_is_associated_with_some_virtual_reservoir(hydro_unit::AbstractCollection, i::Integer)
Get the isassociatedwithsomevirtual_reservoir field from the HydroUnit collection at index i.
IARA.hydro_unit_is_associated_with_some_virtual_reservoir
— Methodhydro_unit_is_associated_with_some_virtual_reservoir(collections::AbstractCollections, i::Integer)
Get the isassociatedwithsomevirtual_reservoir field from the HydroUnit collection at index i.
IARA.hydro_unit_is_associated_with_some_virtual_reservoir
— Methodhydro_unit_is_associated_with_some_virtual_reservoir(collections::AbstractCollections)
Get the is_associated_with_some_virtual_reservoir
field from the HydroUnit
collection.
IARA.hydro_unit_is_associated_with_some_virtual_reservoir
— Methodhydro_unit_is_associated_with_some_virtual_reservoir(hydro_unit::AbstractCollection)
Get the is_associated_with_some_virtual_reservoir
field from the HydroUnit
collection.
IARA.hydro_unit_is_associated_with_some_virtual_reservoir
— Methodhydro_unit_is_associated_with_some_virtual_reservoir(inputs::AbstractInputs, i::Integer)
Get the isassociatedwithsomevirtual_reservoir field from the HydroUnit collection at index i.
IARA.hydro_unit_is_associated_with_some_virtual_reservoir
— Methodhydro_unit_is_associated_with_some_virtual_reservoir(inputs::AbstractInputs)
Get the is_associated_with_some_virtual_reservoir
field from the HydroUnit
collection.
IARA.hydro_unit_label
— Methodhydro_unit_label(hydro_unit::AbstractCollection, i::Integer)
Get the label field from the HydroUnit collection at index i.
IARA.hydro_unit_label
— Methodhydro_unit_label(collections::AbstractCollections, i::Integer)
Get the label field from the HydroUnit collection at index i.
IARA.hydro_unit_label
— Methodhydro_unit_label(collections::AbstractCollections)
Get the label
field from the HydroUnit
collection.
IARA.hydro_unit_label
— Methodhydro_unit_label(hydro_unit::AbstractCollection)
Get the label
field from the HydroUnit
collection.
IARA.hydro_unit_label
— Methodhydro_unit_label(inputs::AbstractInputs, i::Integer)
Get the label field from the HydroUnit collection at index i.
IARA.hydro_unit_label
— Methodhydro_unit_label(inputs::AbstractInputs)
Get the label
field from the HydroUnit
collection.
IARA.hydro_unit_max_generation
— Methodhydro_unit_max_generation(hydro_unit::AbstractCollection, i::Integer)
Get the max_generation field from the HydroUnit collection at index i.
IARA.hydro_unit_max_generation
— Methodhydro_unit_max_generation(collections::AbstractCollections, i::Integer)
Get the max_generation field from the HydroUnit collection at index i.
IARA.hydro_unit_max_generation
— Methodhydro_unit_max_generation(collections::AbstractCollections)
Get the max_generation
field from the HydroUnit
collection.
IARA.hydro_unit_max_generation
— Methodhydro_unit_max_generation(hydro_unit::AbstractCollection)
Get the max_generation
field from the HydroUnit
collection.
IARA.hydro_unit_max_generation
— Methodhydro_unit_max_generation(inputs::AbstractInputs, idx::Int)
Get the maximum generation for the Hydro Unit at index 'idx'.
IARA.hydro_unit_max_generation
— Methodhydro_unit_max_generation(inputs::AbstractInputs, i::Integer)
Get the max_generation field from the HydroUnit collection at index i.
IARA.hydro_unit_max_generation
— Methodhydro_unit_max_generation(inputs::AbstractInputs)
Get the max_generation
field from the HydroUnit
collection.
IARA.hydro_unit_max_turbining
— Methodhydro_unit_max_turbining(hydro_unit::AbstractCollection, i::Integer)
Get the max_turbining field from the HydroUnit collection at index i.
IARA.hydro_unit_max_turbining
— Methodhydro_unit_max_turbining(collections::AbstractCollections, i::Integer)
Get the max_turbining field from the HydroUnit collection at index i.
IARA.hydro_unit_max_turbining
— Methodhydro_unit_max_turbining(collections::AbstractCollections)
Get the max_turbining
field from the HydroUnit
collection.
IARA.hydro_unit_max_turbining
— Methodhydro_unit_max_turbining(hydro_unit::AbstractCollection)
Get the max_turbining
field from the HydroUnit
collection.
IARA.hydro_unit_max_turbining
— Methodhydro_unit_max_turbining(inputs::AbstractInputs, i::Integer)
Get the max_turbining field from the HydroUnit collection at index i.
IARA.hydro_unit_max_turbining
— Methodhydro_unit_max_turbining(inputs::AbstractInputs)
Get the max_turbining
field from the HydroUnit
collection.
IARA.hydro_unit_max_volume
— Methodhydro_unit_max_volume(hydro_unit::AbstractCollection, i::Integer)
Get the max_volume field from the HydroUnit collection at index i.
IARA.hydro_unit_max_volume
— Methodhydro_unit_max_volume(collections::AbstractCollections, i::Integer)
Get the max_volume field from the HydroUnit collection at index i.
IARA.hydro_unit_max_volume
— Methodhydro_unit_max_volume(collections::AbstractCollections)
Get the max_volume
field from the HydroUnit
collection.
IARA.hydro_unit_max_volume
— Methodhydro_unit_max_volume(hydro_unit::AbstractCollection)
Get the max_volume
field from the HydroUnit
collection.
IARA.hydro_unit_max_volume
— Methodhydro_unit_max_volume(inputs::AbstractInputs, i::Integer)
Get the max_volume field from the HydroUnit collection at index i.
IARA.hydro_unit_max_volume
— Methodhydro_unit_max_volume(inputs::AbstractInputs)
Get the max_volume
field from the HydroUnit
collection.
IARA.hydro_unit_min_generation
— Methodhydro_unit_min_generation(hydro_unit::AbstractCollection, i::Integer)
Get the min_generation field from the HydroUnit collection at index i.
IARA.hydro_unit_min_generation
— Methodhydro_unit_min_generation(collections::AbstractCollections, i::Integer)
Get the min_generation field from the HydroUnit collection at index i.
IARA.hydro_unit_min_generation
— Methodhydro_unit_min_generation(collections::AbstractCollections)
Get the min_generation
field from the HydroUnit
collection.
IARA.hydro_unit_min_generation
— Methodhydro_unit_min_generation(hydro_unit::AbstractCollection)
Get the min_generation
field from the HydroUnit
collection.
IARA.hydro_unit_min_generation
— Methodhydro_unit_min_generation(inputs::AbstractInputs, i::Integer)
Get the min_generation field from the HydroUnit collection at index i.
IARA.hydro_unit_min_generation
— Methodhydro_unit_min_generation(inputs::AbstractInputs)
Get the min_generation
field from the HydroUnit
collection.
IARA.hydro_unit_min_outflow
— Methodhydro_unit_min_outflow(hydro_unit::AbstractCollection, i::Integer)
Get the min_outflow field from the HydroUnit collection at index i.
IARA.hydro_unit_min_outflow
— Methodhydro_unit_min_outflow(collections::AbstractCollections, i::Integer)
Get the min_outflow field from the HydroUnit collection at index i.
IARA.hydro_unit_min_outflow
— Methodhydro_unit_min_outflow(collections::AbstractCollections)
Get the min_outflow
field from the HydroUnit
collection.
IARA.hydro_unit_min_outflow
— Methodhydro_unit_min_outflow(hydro_unit::AbstractCollection)
Get the min_outflow
field from the HydroUnit
collection.
IARA.hydro_unit_min_outflow
— Methodhydro_unit_min_outflow(inputs::AbstractInputs, i::Integer)
Get the min_outflow field from the HydroUnit collection at index i.
IARA.hydro_unit_min_outflow
— Methodhydro_unit_min_outflow(inputs::AbstractInputs)
Get the min_outflow
field from the HydroUnit
collection.
IARA.hydro_unit_min_volume
— Methodhydro_unit_min_volume(hydro_unit::AbstractCollection, i::Integer)
Get the min_volume field from the HydroUnit collection at index i.
IARA.hydro_unit_min_volume
— Methodhydro_unit_min_volume(collections::AbstractCollections, i::Integer)
Get the min_volume field from the HydroUnit collection at index i.
IARA.hydro_unit_min_volume
— Methodhydro_unit_min_volume(collections::AbstractCollections)
Get the min_volume
field from the HydroUnit
collection.
IARA.hydro_unit_min_volume
— Methodhydro_unit_min_volume(hydro_unit::AbstractCollection)
Get the min_volume
field from the HydroUnit
collection.
IARA.hydro_unit_min_volume
— Methodhydro_unit_min_volume(inputs::AbstractInputs, i::Integer)
Get the min_volume field from the HydroUnit collection at index i.
IARA.hydro_unit_min_volume
— Methodhydro_unit_min_volume(inputs::AbstractInputs)
Get the min_volume
field from the HydroUnit
collection.
IARA.hydro_unit_om_cost
— Methodhydro_unit_om_cost(hydro_unit::AbstractCollection, i::Integer)
Get the om_cost field from the HydroUnit collection at index i.
IARA.hydro_unit_om_cost
— Methodhydro_unit_om_cost(collections::AbstractCollections, i::Integer)
Get the om_cost field from the HydroUnit collection at index i.
IARA.hydro_unit_om_cost
— Methodhydro_unit_om_cost(collections::AbstractCollections)
Get the om_cost
field from the HydroUnit
collection.
IARA.hydro_unit_om_cost
— Methodhydro_unit_om_cost(hydro_unit::AbstractCollection)
Get the om_cost
field from the HydroUnit
collection.
IARA.hydro_unit_om_cost
— Methodhydro_unit_om_cost(inputs::AbstractInputs, i::Integer)
Get the om_cost field from the HydroUnit collection at index i.
IARA.hydro_unit_om_cost
— Methodhydro_unit_om_cost(inputs::AbstractInputs)
Get the om_cost
field from the HydroUnit
collection.
IARA.hydro_unit_operation_type
— Methodhydro_unit_operation_type(hydro_unit::AbstractCollection, i::Integer)
Get the operation_type field from the HydroUnit collection at index i.
IARA.hydro_unit_operation_type
— Methodhydro_unit_operation_type(collections::AbstractCollections, i::Integer)
Get the operation_type field from the HydroUnit collection at index i.
IARA.hydro_unit_operation_type
— Methodhydro_unit_operation_type(collections::AbstractCollections)
Get the operation_type
field from the HydroUnit
collection.
IARA.hydro_unit_operation_type
— Methodhydro_unit_operation_type(hydro_unit::AbstractCollection)
Get the operation_type
field from the HydroUnit
collection.
IARA.hydro_unit_operation_type
— Methodhydro_unit_operation_type(inputs::AbstractInputs, i::Integer)
Get the operation_type field from the HydroUnit collection at index i.
IARA.hydro_unit_operation_type
— Methodhydro_unit_operation_type(inputs::AbstractInputs)
Get the operation_type
field from the HydroUnit
collection.
IARA.hydro_unit_opportunity_cost_file
— Methodhydro_unit_opportunity_cost_file(inputs::AbstractInputs)
Return the hydro opportunity cost time series file for all hydro units.
IARA.hydro_unit_production_factor
— Methodhydro_unit_production_factor(hydro_unit::AbstractCollection, i::Integer)
Get the production_factor field from the HydroUnit collection at index i.
IARA.hydro_unit_production_factor
— Methodhydro_unit_production_factor(collections::AbstractCollections, i::Integer)
Get the production_factor field from the HydroUnit collection at index i.
IARA.hydro_unit_production_factor
— Methodhydro_unit_production_factor(collections::AbstractCollections)
Get the production_factor
field from the HydroUnit
collection.
IARA.hydro_unit_production_factor
— Methodhydro_unit_production_factor(hydro_unit::AbstractCollection)
Get the production_factor
field from the HydroUnit
collection.
IARA.hydro_unit_production_factor
— Methodhydro_unit_production_factor(inputs::AbstractInputs, i::Integer)
Get the production_factor field from the HydroUnit collection at index i.
IARA.hydro_unit_production_factor
— Methodhydro_unit_production_factor(inputs::AbstractInputs)
Get the production_factor
field from the HydroUnit
collection.
IARA.hydro_unit_spill_to
— Methodhydro_unit_spill_to(hydro_unit::AbstractCollection, i::Integer)
Get the spill_to field from the HydroUnit collection at index i.
IARA.hydro_unit_spill_to
— Methodhydro_unit_spill_to(collections::AbstractCollections, i::Integer)
Get the spill_to field from the HydroUnit collection at index i.
IARA.hydro_unit_spill_to
— Methodhydro_unit_spill_to(collections::AbstractCollections)
Get the spill_to
field from the HydroUnit
collection.
IARA.hydro_unit_spill_to
— Methodhydro_unit_spill_to(hydro_unit::AbstractCollection)
Get the spill_to
field from the HydroUnit
collection.
IARA.hydro_unit_spill_to
— Methodhydro_unit_spill_to(inputs::AbstractInputs, i::Integer)
Get the spill_to field from the HydroUnit collection at index i.
IARA.hydro_unit_spill_to
— Methodhydro_unit_spill_to(inputs::AbstractInputs)
Get the spill_to
field from the HydroUnit
collection.
IARA.hydro_unit_turbine_to
— Methodhydro_unit_turbine_to(hydro_unit::AbstractCollection, i::Integer)
Get the turbine_to field from the HydroUnit collection at index i.
IARA.hydro_unit_turbine_to
— Methodhydro_unit_turbine_to(collections::AbstractCollections, i::Integer)
Get the turbine_to field from the HydroUnit collection at index i.
IARA.hydro_unit_turbine_to
— Methodhydro_unit_turbine_to(collections::AbstractCollections)
Get the turbine_to
field from the HydroUnit
collection.
IARA.hydro_unit_turbine_to
— Methodhydro_unit_turbine_to(hydro_unit::AbstractCollection)
Get the turbine_to
field from the HydroUnit
collection.
IARA.hydro_unit_turbine_to
— Methodhydro_unit_turbine_to(inputs::AbstractInputs, i::Integer)
Get the turbine_to field from the HydroUnit collection at index i.
IARA.hydro_unit_turbine_to
— Methodhydro_unit_turbine_to(inputs::AbstractInputs)
Get the turbine_to
field from the HydroUnit
collection.
IARA.hydro_unit_virtual_reservoir_index
— Methodhydro_unit_virtual_reservoir_index(hydro_unit::AbstractCollection, i::Integer)
Get the virtualreservoirindex field from the HydroUnit collection at index i.
IARA.hydro_unit_virtual_reservoir_index
— Methodhydro_unit_virtual_reservoir_index(collections::AbstractCollections, i::Integer)
Get the virtualreservoirindex field from the HydroUnit collection at index i.
IARA.hydro_unit_virtual_reservoir_index
— Methodhydro_unit_virtual_reservoir_index(collections::AbstractCollections)
Get the virtual_reservoir_index
field from the HydroUnit
collection.
IARA.hydro_unit_virtual_reservoir_index
— Methodhydro_unit_virtual_reservoir_index(hydro_unit::AbstractCollection)
Get the virtual_reservoir_index
field from the HydroUnit
collection.
IARA.hydro_unit_virtual_reservoir_index
— Methodhydro_unit_virtual_reservoir_index(inputs::AbstractInputs, i::Integer)
Get the virtualreservoirindex field from the HydroUnit collection at index i.
IARA.hydro_unit_virtual_reservoir_index
— Methodhydro_unit_virtual_reservoir_index(inputs::AbstractInputs)
Get the virtual_reservoir_index
field from the HydroUnit
collection.
IARA.hydro_unit_waveguide_volume
— Methodhydro_unit_waveguide_volume(hydro_unit::AbstractCollection, i::Integer)
Get the waveguide_volume field from the HydroUnit collection at index i.
IARA.hydro_unit_waveguide_volume
— Methodhydro_unit_waveguide_volume(collections::AbstractCollections, i::Integer)
Get the waveguide_volume field from the HydroUnit collection at index i.
IARA.hydro_unit_waveguide_volume
— Methodhydro_unit_waveguide_volume(collections::AbstractCollections)
Get the waveguide_volume
field from the HydroUnit
collection.
IARA.hydro_unit_waveguide_volume
— Methodhydro_unit_waveguide_volume(hydro_unit::AbstractCollection)
Get the waveguide_volume
field from the HydroUnit
collection.
IARA.hydro_unit_waveguide_volume
— Methodhydro_unit_waveguide_volume(inputs::AbstractInputs, i::Integer)
Get the waveguide_volume field from the HydroUnit collection at index i.
IARA.hydro_unit_waveguide_volume
— Methodhydro_unit_waveguide_volume(inputs::AbstractInputs)
Get the waveguide_volume
field from the HydroUnit
collection.
IARA.hydro_volume!
— Methodhydro_volume!(outputs, inputs::Inputs, run_time_options::RunTimeOptions, simulation_results::SimulationResultsFromPeriodScenario, period::Int, scenario::Int, subscenario::Int, ::Type{WriteOutput})
Write the hydro final and initial volume values to the output file.
IARA.hydro_volume!
— Methodhydro_volume!(outputs::Outputs, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{InitializeOutput})
Initialize the output files for
- hydroinitialvolume
- hydrofinalvolume
IARA.hydro_volume!
— Methodhydro_volume!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, scenario, subscenario, ::Type{SubproblemUpdate})
Updates the hydro volume variables in the model.
IARA.hydro_volume!
— Methodhydro_volume!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the hydro volume variables to the model.
IARA.hydro_volume_from_previous_period
— Methodhydro_volume_from_previous_period(inputs::AbstractInputs, period::Int, scenario::Int)
Get the hydro volume from the previous period.
If the period is the first one, the initial volume is returned. Otherwise, it is read from the serialized results of the previous stage.
IARA.index_among_elastic_demands
— Methodindex_among_elastic_demands(inputs::AbstractInputs, idx::Int)
Return the index of the Demand in position 'idx' among the elastic Demands.
IARA.inflow_scenarios_files
— Methodinflow_scenarios_files(inputs::AbstractInputs)
Return which inflow scenarios files should be read.
IARA.initial_date_time
— Methodinitial_date_time(inputs::AbstractInputs)
Return the initial date of the problem.
IARA.initialize!
— Methodinitialize!(asset_owner::AssetOwner, inputs)
Initialize the AssetOwner collection from the database.
IARA.initialize!
— Methodinitialize!(battery_unit::BatteryUnit, inputs::AbstractInputs)
Initialize the Battery Unit collection from the database.
IARA.initialize!
— Methodinitialize!(bidding_group::BiddingGroup, inputs::AbstractInputs)
Initialize the BiddingGroup collection from the database.
IARA.initialize!
— Methodinitialize!(branch::Branch, inputs::AbstractInputs)
Initialize the Branch collection from the database.
IARA.initialize!
— Methodinitialize!(bus::Bus, inputs::AbstractInputs)
Initialize the Bus collection from the database.
IARA.initialize!
— Methodinitialize!(configurations::Configurations, inputs::AbstractInputs)
Initialize the Configurations collection from the database.
IARA.initialize!
— Methodinitialize!(dc_line::DCLine, inputs::AbstractInputs)
Initialize the DC Line collection from the database.
IARA.initialize!
— Methodinitialize!(demand_unit::DemandUnit, inputs::AbstractInputs)
Initialize the Demand collection from the database.
IARA.initialize!
— Methodinitialize!(gauging_station::GaugingStation, inputs::AbstractInputs)
Initialize the GaugingStation collection from the database.
IARA.initialize!
— Methodinitialize!(hydro_unit::HydroUnit, inputs::AbstractInputs)
Initialize the Hydro Unit collection from the database.
IARA.initialize!
— Methodinitialize!(inputs::Inputs)
Initialize the inputs.
IARA.initialize!
— Methodinitialize!(interconnection::Interconnection, inputs::AbstractInputs)
Initialize the Interconnection collection from the database.
IARA.initialize!
— Methodinitialize!(renewable_unit::RenewableUnit, inputs)
Initialize the Renewable Unit collection from the database.
IARA.initialize!
— Methodinitialize!(thermal_unit::ThermalUnit, inputs)
Initialize the Thermal Unit collection from the database.
IARA.initialize!
— Methodinitialize!(virtual_reservoir::VirtualReservoir, inputs::AbstractInputs)
Initialize the VirtualReservoir collection from the database.
IARA.initialize!
— Methodinitialize!(zone::Zone, inputs)
Initialize the Zone collection from the database.
IARA.initialize_heuristic_bids_outputs
— Methodinitialize_heuristic_bids_outputs(inputs::Inputs, outputs::Outputs, run_time_options::RunTimeOptions)
Initialize the output files for bidding group energy and price offers.
IARA.initialize_outputs
— Methodinitialize_outputs(inputs::Inputs, run_time_options::RunTimeOptions)
Initialize the outputs struct.
IARA.initialize_time_series_from_external_files
— Methodinitialize_time_series_from_external_files(inputs)
Initialize the time series data from external files. This function reads the data from the files and stores it in the inputs
struct.
IARA.initialize_virtual_reservoir_bids_outputs
— Methodinitialize_virtual_reservoir_bids_outputs(inputs::Inputs, outputs::Outputs, run_time_options::RunTimeOptions)
Initialize the output files for virtual reservoir energy and price offers.
IARA.integer_variable_representation
— Methodinteger_variable_representation(inputs::Inputs, run_time_options)
Determine the integer variables representation.
IARA.integer_variable_representation_ex_ante_commercial
— Methodinteger_variable_representation_ex_ante_commercial(inputs::AbstractInputs)
Return the clearing integer variables type for ex-ante commercial.
IARA.integer_variable_representation_ex_ante_physical
— Methodinteger_variable_representation_ex_ante_physical(inputs::AbstractInputs)
Return the clearing integer variables type for ex-ante physical.
IARA.integer_variable_representation_ex_post_commercial
— Methodinteger_variable_representation_ex_post_commercial(inputs::AbstractInputs)
Return the clearing integer variables type for ex-post commercial.
IARA.integer_variable_representation_ex_post_physical
— Methodinteger_variable_representation_ex_post_physical(inputs::AbstractInputs)
Return the clearing integer variables type for ex-post physical.
IARA.integer_variable_representation_mincost
— Methodinteger_variable_representation_mincost(inputs::AbstractInputs)
Return the clearing integer variables type for mincost.
IARA.interconnection_capacity_from
— Methodinterconnection_capacity_from(interconnection::AbstractCollection, i::Integer)
Get the capacity_from field from the Interconnection collection at index i.
IARA.interconnection_capacity_from
— Methodinterconnection_capacity_from(collections::AbstractCollections, i::Integer)
Get the capacity_from field from the Interconnection collection at index i.
IARA.interconnection_capacity_from
— Methodinterconnection_capacity_from(collections::AbstractCollections)
Get the capacity_from
field from the Interconnection
collection.
IARA.interconnection_capacity_from
— Methodinterconnection_capacity_from(interconnection::AbstractCollection)
Get the capacity_from
field from the Interconnection
collection.
IARA.interconnection_capacity_from
— Methodinterconnection_capacity_from(inputs::AbstractInputs, i::Integer)
Get the capacity_from field from the Interconnection collection at index i.
IARA.interconnection_capacity_from
— Methodinterconnection_capacity_from(inputs::AbstractInputs)
Get the capacity_from
field from the Interconnection
collection.
IARA.interconnection_capacity_to
— Methodinterconnection_capacity_to(interconnection::AbstractCollection, i::Integer)
Get the capacity_to field from the Interconnection collection at index i.
IARA.interconnection_capacity_to
— Methodinterconnection_capacity_to(collections::AbstractCollections, i::Integer)
Get the capacity_to field from the Interconnection collection at index i.
IARA.interconnection_capacity_to
— Methodinterconnection_capacity_to(collections::AbstractCollections)
Get the capacity_to
field from the Interconnection
collection.
IARA.interconnection_capacity_to
— Methodinterconnection_capacity_to(interconnection::AbstractCollection)
Get the capacity_to
field from the Interconnection
collection.
IARA.interconnection_capacity_to
— Methodinterconnection_capacity_to(inputs::AbstractInputs, i::Integer)
Get the capacity_to field from the Interconnection collection at index i.
IARA.interconnection_capacity_to
— Methodinterconnection_capacity_to(inputs::AbstractInputs)
Get the capacity_to
field from the Interconnection
collection.
IARA.interconnection_existing
— Methodinterconnection_existing(interconnection::AbstractCollection, i::Integer)
Get the existing field from the Interconnection collection at index i.
IARA.interconnection_existing
— Methodinterconnection_existing(collections::AbstractCollections, i::Integer)
Get the existing field from the Interconnection collection at index i.
IARA.interconnection_existing
— Methodinterconnection_existing(collections::AbstractCollections)
Get the existing
field from the Interconnection
collection.
IARA.interconnection_existing
— Methodinterconnection_existing(interconnection::AbstractCollection)
Get the existing
field from the Interconnection
collection.
IARA.interconnection_existing
— Methodinterconnection_existing(inputs::AbstractInputs, i::Integer)
Get the existing field from the Interconnection collection at index i.
IARA.interconnection_existing
— Methodinterconnection_existing(inputs::AbstractInputs)
Get the existing
field from the Interconnection
collection.
IARA.interconnection_flow!
— Methodinterconnection_flow!(outputs, inputs::Inputs, run_time_options::RunTimeOptions, simulation_results::SimulationResultsFromPeriodScenario, period::Int, scenario::Int, subscenario::Int, ::Type{WriteOutput})
Write the DC flow variables' values to the output file.
IARA.interconnection_flow!
— Methodinterconnection_flow!(outputs::Outputs, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{InitializeOutput})
Initialize output file to store the DC flow variables' values.
IARA.interconnection_flow!
— Methodinterconnection_flow!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the DC flow variables to the model.
IARA.interconnection_label
— Methodinterconnection_label(interconnection::AbstractCollection, i::Integer)
Get the label field from the Interconnection collection at index i.
IARA.interconnection_label
— Methodinterconnection_label(collections::AbstractCollections, i::Integer)
Get the label field from the Interconnection collection at index i.
IARA.interconnection_label
— Methodinterconnection_label(collections::AbstractCollections)
Get the label
field from the Interconnection
collection.
IARA.interconnection_label
— Methodinterconnection_label(interconnection::AbstractCollection)
Get the label
field from the Interconnection
collection.
IARA.interconnection_label
— Methodinterconnection_label(inputs::AbstractInputs, i::Integer)
Get the label field from the Interconnection collection at index i.
IARA.interconnection_label
— Methodinterconnection_label(inputs::AbstractInputs)
Get the label
field from the Interconnection
collection.
IARA.interconnection_zone_from
— Methodinterconnection_zone_from(interconnection::AbstractCollection, i::Integer)
Get the zone_from field from the Interconnection collection at index i.
IARA.interconnection_zone_from
— Methodinterconnection_zone_from(collections::AbstractCollections, i::Integer)
Get the zone_from field from the Interconnection collection at index i.
IARA.interconnection_zone_from
— Methodinterconnection_zone_from(collections::AbstractCollections)
Get the zone_from
field from the Interconnection
collection.
IARA.interconnection_zone_from
— Methodinterconnection_zone_from(interconnection::AbstractCollection)
Get the zone_from
field from the Interconnection
collection.
IARA.interconnection_zone_from
— Methodinterconnection_zone_from(inputs::AbstractInputs, i::Integer)
Get the zone_from field from the Interconnection collection at index i.
IARA.interconnection_zone_from
— Methodinterconnection_zone_from(inputs::AbstractInputs)
Get the zone_from
field from the Interconnection
collection.
IARA.interconnection_zone_to
— Methodinterconnection_zone_to(interconnection::AbstractCollection, i::Integer)
Get the zone_to field from the Interconnection collection at index i.
IARA.interconnection_zone_to
— Methodinterconnection_zone_to(collections::AbstractCollections, i::Integer)
Get the zone_to field from the Interconnection collection at index i.
IARA.interconnection_zone_to
— Methodinterconnection_zone_to(collections::AbstractCollections)
Get the zone_to
field from the Interconnection
collection.
IARA.interconnection_zone_to
— Methodinterconnection_zone_to(interconnection::AbstractCollection)
Get the zone_to
field from the Interconnection
collection.
IARA.interconnection_zone_to
— Methodinterconnection_zone_to(inputs::AbstractInputs, i::Integer)
Get the zone_to field from the Interconnection collection at index i.
IARA.interconnection_zone_to
— Methodinterconnection_zone_to(inputs::AbstractInputs)
Get the zone_to
field from the Interconnection
collection.
IARA.is_ac
— Methodis_ac(b::Branch, i::Int)
Check if the Branch at index 'i' is modeled as an AC Line.
IARA.is_associated_with_some_virtual_reservoir
— Methodis_associated_with_some_virtual_reservoir(hydro_unit::HydroUnit, idx::Int)
Check if the Hydro Unit at index 'idx' is associated with some virtual reservoir.
IARA.is_branch_modeled_as_dc_line
— Methodis_branch_modeled_as_dc_line(inputs::AbstractInputs, idx::Int)
Check if the Branch at index 'idx' is modeled as a DC Line.
IARA.is_commercial_problem
— Methodis_commercial_problem(run_time_options::RunTimeOptions)
Check if the problem is commercial.
IARA.is_dc
— Methodis_dc(b::Branch, i::Int)
Check if the Branch at index 'i' is modeled as a DC Line.
IARA.is_elastic
— Methodis_elastic(d::DemandUnit, i::Int)
Return true if the Demand in position 'i' is IARA.DemandUnit_DemandType.ELASTIC
.
IARA.is_ex_ante_problem
— Methodis_ex_ante_problem(run_time_options::RunTimeOptions)
Check if the problem is ex-ante.
IARA.is_ex_post_problem
— Methodis_ex_post_problem(run_time_options::RunTimeOptions)
Check if the problem is ex-post.
IARA.is_flexible
— Methodis_flexible(d::DemandUnit, i::Int)
Return true if the Demand in position 'i' is IARA.DemandUnit_DemandType.FLEXIBLE
.
IARA.is_inelastic
— Methodis_inelastic(d::DemandUnit, i::Int)
Return true if the Demand in position 'i' is IARA.DemandUnit_DemandType.INELASTIC
.
IARA.is_market_clearing
— Methodis_market_clearing(inputs::AbstractInputs)
Return whether the run mode is MARKETCLEARING or SINGLEPERIODMARKETCLEARING.
IARA.is_physical_problem
— Methodis_physical_problem(run_time_options::RunTimeOptions)
Check if the problem is physical.
IARA.is_single_period
— Methodis_single_period(inputs::AbstractInputs)
Return whether the run mode is SINGLEPERIODMARKETCLEARING or SINGLEPERIODHEURISTICBID.
IARA.kirchhoffs_voltage_law!
— Methodkirchhoffs_voltage_law!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the Kirchhoff's Voltage Law constraints to the model.
IARA.language
— Methodlanguage(inputs::AbstractInputs)
Return the language of the case.
IARA.linear_policy_graph
— Methodlinear_policy_graph(inputs::AbstractInputs)
Return whether the policy graph is linear.
IARA.link_offers_and_generation!
— Methodlink_offers_and_generation!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the link between offers and generation constraints to the model.
IARA.link_time_series_to_file
— Methodlink_time_series_to_file(db::DatabaseSQLite, table_name::String; kwargs...)
Links a time series to a file in the database.
Each collection in the database can be linked to different time series files.
The possible files for each collection are:
Collection: Configuration
hour_subperiod_map::String
: Mapping of hours to subperiods
fcf_cuts::String
: FCF cuts for the model, it's a file read from SDDP.jl in JSON format
period_season_map::String
: Mapping of periods to seasons
Collection: RenewableUnit
generation_ex_ante::String
: Realized generation for the model in ex-ante, also used in the min cost module[p.u.]
generation_ex_post::String
: Realized generation for the model in ex-post[p.u.]
Collection: HydroUnit
inflow_ex_ante::String
: Inflow data for the model in ex-ante[m³/s]
inflow_ex_post::String
: Inflow data for the model in ex-post[m³/s]
Collection: BiddingGroup
quantity_offer::String
: Quantity of offers for independent segement bids[GWh]
price_offer::String
: Price of offers for independent segement bids[$/MWh]
quantity_offer_profile::String
: Quantity of offers for profile bids[GWh]
price_offer_profile::String
: Price of offers for profile bids[$/MWh]
parent_profile::String
: Parent profile of this offer profile
complementary_grouping_profile::String
: Complementary grouping for the asset owner's profile bids
minimum_activation_level_profile::String
: Minimum activation level of profile
bid_price_limit_justified_independent::String
bid_price_limit_non_justified_independent::String
bid_price_limit_justified_profile::String
bid_price_limit_non_justified_profile::String
bid_justifications::String
Collection: VirtualReservoir
quantity_offer::String
: Quantity of offers for virtual reservoirs[MWh]
price_offer::String
: Price of offers for virtual reservoirs[$/MWh]
Collection: DemandUnit
elastic_demand_price::String
: Elastic demand price data[$/MWh]
demand_window::String
: Window available for shifting the elastic demand[h]
demand_ex_ante::String
: Demand data for the model in ex-ante, also used in the min cost module[p.u.]
demand_ex_post::String
: Demand data for the model in ex-post[p.u.]
For more information about these files, please refer to the Input Files documentation.
Example:
IARA.link_time_series_to_file(
db,
"RenewableUnit";
generation_ex_ante = "solar_generation",
)
IARA.load_balance!
— Methodload_balance!(outputs, inputs::Inputs, run_time_options::RunTimeOptions, simulation_results::SimulationResultsFromPeriodScenario, period::Int, scenario::Int, subscenario::Int, ::Type{WriteOutput})
Write the load marginal cost output.
IARA.load_balance!
— Methodload_balance!(outputs, inputs, run_time_options, ::Type{InitializeOutput})
Initialize the output files for:
load_marginal_cost
IARA.load_balance!
— Methodload_balance!(
model::SubproblemModel,
inputs::Inputs,
run_time_options::RunTimeOptions,
::Type{SubproblemBuild}
)
Add the load balance constraints to the model.
IARA.load_cuts_and_run_simulation
— Methodload_cuts_and_run_simulation(inputs::Inputs, run_time_options::RunTimeOptions)
Load the cuts and run the simulation.
IARA.load_inputs
— Methodload_inputs(args::Args)
Initialize the inputs from the database.
IARA.load_new_attributes_from_db!
— Methodload_new_attributes_from_db!(inputs::Inputs, db_temp::DatabaseSQLite)
Load new attributes from the database.
IARA.load_study
— Methodload_study(case_path::String; read_only::Bool = true)
Open the database file and return a database object.
Required arguments:
case_path::String
: Path to the case folder.read_only::Bool
: Whether the database should be opened in read-only mode. Default istrue
.
IARA.loop_subperiods_for_thermal_constraints
— Methodloop_subperiods_for_thermal_constraints(inputs::AbstractInputs)
Return whether subperiods should be looped for thermal constraints.
IARA.lp_filename
— Methodlp_filename(inputs::Inputs, run_time_options::RunTimeOptions, t::Integer, scen::Integer, subscenario::Integer)
Return the filename to write the lp file.
IARA.make_whole_payments
— Methodmake_whole_payments(inputs::AbstractInputs)
Return the make whole payments type.
IARA.market_clearing
— Methodmarket_clearing(path::String; kwargs...)
Run the model with the market clearing strategy.
keywords:
outputs_path::String
. Path to the outputs. default = joinpath(path, "outputs")plot_outputs::Bool
. Plot all outputs after the run. default = truewrite_lp::Bool
. Write the LP files. default = falsedelete_output_folder_before_execution::Bool
. Delete the output folder before execution. default = false
IARA.market_clearing_model_action
— Methodmarket_clearing_model_action(args...)
Market clearing model action.
IARA.market_clearing_tiebreaker_weight
— Methodmarket_clearing_tiebreaker_weight(inputs::AbstractInputs)
Return the market clearing tiebreaker weight applied to physical generation costs.
IARA.merge_period_subperiod
— Functionmerge_period_subperiod(data::Array{T, N}) where {T <: AbstractFloat, N}
Reduce the dimension of the data array by merging the period and subperiod dimensions.
IARA.merge_scenario_agent
— Functionmerge_scenario_agent(::Type{<:PlotType}, data::Array{<:AbstractFloat, N}, agent_names::Vector{String}, scenario_names::Union{Vector{String}, Nothing}; kwargs...) where {N}
Reduce the dimension of the data array by merging the scenario and agent dimensions.
IARA.merge_scenario_subscenario
— Functionmerge_scenario_subscenario(data::Array{<:AbstractFloat, N}, agent_names::Vector{String}; kwargs...) where {N}
Reduce the dimension of the data array by merging the scenario and subscenario dimensions.
IARA.merge_scenario_subscenario_agent
— Functionmerge_scenario_subscenario_agent(data::Array{<:AbstractFloat, N}, agent_names::Vector{String}; kwargs...) where {N}
Reduce the dimension of the data array by merging the scenario, subscenario, and agent dimensions.
IARA.merge_segment_agent
— Functionmerge_segment_agent(data::Array{<:AbstractFloat, N}, agent_names::Vector{String}; kwargs...) where {N}
Reduce the dimension of the data array by merging the segment and agent dimensions.
IARA.migrations_directory
— Methodmigrations_directory()
Return the path to the migration directory.
IARA.min_cost
— Methodmin_cost(path::String; kwargs...)
Run the model with the minimum cost strategy.
keywords:
outputs_path::String
. Path to the outputs. default = joinpath(path, "outputs")plot_outputs::Bool
. Plot all outputs after the run. default = truewrite_lp::Bool
. Write the LP files. default = falsedelete_output_folder_before_execution::Bool
. Delete the output folder before execution. default = false
IARA.model_action
— Methodmodel_action(args...)
Dispatch the model action based on the run mode and the action type.
IARA.model_directory
— Methodmodel_directory()
Return the path to the model directory.
IARA.must_read_hydro_unit_data_for_markup_wizard
— Methodmust_read_hydro_unit_data_for_markup_wizard(inputs::Inputs)
This function returns true when the following conditions are met:
- The run mode is not TRAINMINCOST
- There is at least one hydro unit that is associated with a bidding group
IARA.network_representation
— Methodnetwork_representation(inputs::Inputs, run_time_options)
Determine the network representation.
IARA.network_representation_ex_ante_commercial
— Methodnetwork_representation_ex_ante_commercial(inputs::AbstractInputs)
Return the network representation for the ex-ante commercial model.
IARA.network_representation_ex_ante_physical
— Methodnetwork_representation_ex_ante_physical(inputs::AbstractInputs)
Return the network representation for the ex-ante physical model.
IARA.network_representation_ex_post_commercial
— Methodnetwork_representation_ex_post_commercial(inputs::AbstractInputs)
Return the network representation for the ex-post commercial model.
IARA.network_representation_ex_post_physical
— Methodnetwork_representation_ex_post_physical(inputs::AbstractInputs)
Return the network representation for the ex-post physical model.
IARA.network_representation_mincost
— Methodnetwork_representation_mincost(inputs::AbstractInputs)
Return the network representation for the mincost model.
IARA.node_repetition_probability
— Methodnode_repetition_probability(inputs::Inputs)
Returns the probability that the problem repeats a node after solving it's subproblem.
IARA.node_termination_probability
— Methodnode_termination_probability(inputs::Inputs)
Returns the probability that the problem finishes after solving a node's subproblem.
IARA.nodes
— Methodnodes(inputs::AbstractInputs)
Return all nodes in the SDDP policy graph, except for the root node.
IARA.number_of_flexible_demand_windows
— Methodnumber_of_flexible_demand_windows(inputs::AbstractInputs, idx::Int)
Return the number of windows for the flexible Demand in position 'idx'.
IARA.number_of_nodes
— Methodnumber_of_nodes(inputs::AbstractInputs)
Return the number of nodes in the SDDP policy graph.
IARA.number_of_periods
— Methodnumber_of_periods(inputs::AbstractInputs)
Return the number of periods in the problem.
IARA.number_of_scenarios
— Methodnumber_of_scenarios(inputs::AbstractInputs)
Return the number of scenarios in the problem.
IARA.number_of_subperiods
— Methodnumber_of_subperiods(inputs::AbstractInputs)
Return the number of subperiods in the problem.
IARA.number_of_subscenarios
— Methodnumber_of_subscenarios(inputs::AbstractInputs, run_time_options)
Return the number of subscenarios to simulate.
IARA.number_of_waveguide_points
— Methodnumber_of_waveguide_points(inputs::AbstractInputs, vr::Int)
Return the number of waveguide points for the VirtualReservoir vr
.
IARA.operates_as_run_of_river
— Methodoperates_as_run_of_river(hydro_unit::HydroUnit, idx::Int)
Check if the Hydro Unit at index 'idx' operates as run of river.
IARA.operates_with_reservoir
— Methodoperates_with_reservoir(hydro_unit::HydroUnit, idx::Int)
Check if the Hydro Unit at index 'idx' operates with reservoir.
IARA.output_path
— Methodoutput_path(inputs::Inputs)
Return the path to the outputs directory.
IARA.parp!
— Methodparp!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the PAR(p) constraints to the model.
IARA.parp_max_lags
— Methodparp_max_lags(inputs::AbstractInputs)
Return the maximum number of lags in the PAR(p) model.
IARA.path_case
— Methodpath_case(inputs::AbstractInputs)
Return the path to the case.
IARA.path_case
— Methodpath_case(db::DatabaseSQLite)
Return the path to the case.
IARA.path_parp
— Methodpath_parp(inputs::AbstractInputs)
Return the path to the PAR(p) model files.
IARA.period_discount_rate
— Methodperiod_discount_rate(inputs::AbstractInputs)
Return the discount rate per period.
IARA.period_season_map_cache
— Methodperiod_season_map(inputs::AbstractInputs)
Return the period to season map.
IARA.period_season_map_file
— Methodperiod_season_map_file(inputs::AbstractInputs)
Return the file with the period to season map.
IARA.period_season_map_from_file
— Methodperiod_season_map(inputs)
Return a 3-element vector with the current season, sample and next_subscenario given the current period and scenario.
IARA.periods
— Methodperiods(inputs::AbstractInputs)
Return all problem periods.
IARA.periods_per_year
— Methodperiods_per_year(inputs::AbstractInputs)
Return the number of periods per year.
IARA.plot_data
— Functionplot_data(::Type{<:PlotType}, data::Array{<:AbstractFloat, N}, agent_names::Vector{String}, dimensions::Vector{String}; kwargs...)
Plot the data for a specific plot type.
IARA.plot_data
— Methodplot_data(
::Type{PlotTechnologyHistogramPeriodSubperiod},
data::Array{<:AbstractFloat, N},
agent_names::Vector{String},
dimensions::Vector{String};
title::String,
unit::String,
file_path::String,
kwargs...,
) where {N}
Plots a histogram where the observations are the total of generation for a technology at subperiod i, period j, considering all scenarios.
IARA.plot_data
— Methodplot_data(::Type{PlotTechnologyHistogramPeriod}, data::Array{<:AbstractFloat, N}, agent_names::Vector{String}, dimensions::Vector{String}; title::String = "", unit::String = "", file_path::String, kwargs...)
Create a histogram plot for the total of generation for a technology at period i, considering all scenarios and subperiods.
IARA.plot_data
— Methodplot_data(::Type{PlotTechnologyHistogramSubperiod}, data::Array{AbstractFloat, N}, agent_names::Vector{String}, dimensions::Vector{String}; title::String = "", unit::String = "", file_path::String, kwargs...)
Create a histogram plot for the total of generation for a technology at subperiod i, considering all scenarios and periods.
IARA.plot_data
— Methodplot_data(::Type{PlotTechnologyHistogram}, data::Array{<:AbstractFloat, N}, agent_names::Vector{String}, dimensions::Vector{String}; title::String = "", unit::String = "", file_path::String, kwargs...)
Create a histogram plot for the total of generation for a technology, considering all scenarios, periods and subperiods.
IARA.plot_data
— Methodplot_data(::Type{PlotTimeSeriesAll}, data::Array{<:AbstractFloat, N}, agent_names::Vector{String}, dimensions::Vector{String}; title::String = "", unit::String = "", file_path::String, initial_date::DateTime, time_series_step::Configurations_TimeSeriesStep.T, kwargs...)
Create a time series plot with all scenarios.
IARA.plot_data
— Methodplot_data(::Type{PlotTimeSeriesQuantiles}, data::Array{<:AbstractFloat, N}, agent_names::Vector{String}, dimensions::Vector{String}; title::String = "", unit::String = "", file_path::String, initial_date::DateTime, time_series_step::Configurations_TimeSeriesStep.T, kwargs...)
Create a time series plot with P10, P50, and P90 quantiles of scenarios.
IARA.plot_data
— Methodplot_data(::Type{PlotTimeSeriesStackedMean}, data::Array{<:AbstractFloat, N}, agent_names::Vector{String}, dimensions::Vector{String}; title::String = "", unit::String = "", file_path::String, initial_date::DateTime, time_series_step::Configurations_TimeSeriesStep.T, kwargs...)
Create a time series plot with the mean of scenarios with all agents stacked.
IARA.policy_graph_type
— Methodpolicy_graph_type(inputs::AbstractInputs)
Return the policy graph type.
IARA.post_processing
— Methodpost_processing(inputs::Inputs)
Run post-processing routines.
IARA.post_processing_bidding_group_revenue
— Methodpost_processing_bidding_group_revenue(inputs::Inputs, outputs_post_processing::Outputs, model_outputs_time_serie::OutputReaders, run_time_options::RunTimeOptions)
Post-process the bidding group revenue data, based on the generation data and the marginal cost data.
IARA.post_processing_bidding_group_total_revenue
— Methodpost_processing_bidding_group_total_revenue(inputs::Inputs, outputs_post_processing::Outputs, model_outputs_time_serie::OutputReaders, run_time_options::RunTimeOptions)
Post-process the total revenue data, based on the ex-ante and ex-post revenue data.
IARA.post_processing_generation
— Methodpost_processing_generation(inputs::Inputs, run_time_options::RunTimeOptions)
Run post-processing routines for generation.
IARA.price_limits
— Methodprice_limits(inputs::AbstractInputs)
Return the price cap type.
IARA.price_taker_bid
— Methodprice_taker_bid(path::String; kwargs...)
Run the model with the price taker bid strategy.
keywords:
outputs_path::String
. Path to the outputs. default = joinpath(path, "outputs")plot_outputs::Bool
. Plot all outputs after the run. default = truewrite_lp::Bool
. Write the LP files. default = falsedelete_output_folder_before_execution::Bool
. Delete the output folder before execution. default = false
IARA.price_taker_bid_model_action
— Methodprice_taker_bid_model_action(args...)
Price taker bid model action.
IARA.profile_min_activation_level!
— Methodprofile_min_activation_level!(outputs::Outputs, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{InitializeOutput})
Adds symbols to serialize and query the profile minimum activation level variables.
IARA.profile_min_activation_level!
— Methodprofile_min_activation_level!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, scenario, subscenario, ::Type{SubproblemUpdate})
Updates the profile minimum activation level variables in the model.
IARA.profile_min_activation_level!
— Methodprofile_min_activation_level!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the profile minimum activation level variables to the model.
IARA.read_bids_from_file
— Methodread_bids_from_file(inputs::AbstractInputs)
Return whether bids should be read from a file.
IARA.read_cuts_into_clearing_model!
— Methodread_cuts_into_clearing_model!(
model::ProblemModel,
inputs::Inputs,
run_time_options::RunTimeOptions,
period::Int
)
Check if the clearing representation must read cuts. If so, it reads them.
IARA.read_ex_ante_demand_file
— Methodread_ex_ante_demand_file(inputs::AbstractInputs)
Return whether the ex-ante demand file should be read.
IARA.read_ex_ante_file
— Methodread_ex_ante_file(files_to_read::Configurations_UncertaintyScenariosFiles.T)
Return whether the ex-ante file should be read.
IARA.read_ex_ante_inflow_file
— Methodread_ex_ante_inflow_file(inputs::AbstractInputs)
Return whether the ex-ante inflow file should be read.
IARA.read_ex_ante_renewable_file
— Methodread_ex_ante_renewable_file(inputs::AbstractInputs)
Return whether the ex-ante renewable file should be read.
IARA.read_ex_post_demand_file
— Methodread_ex_post_demand_file(inputs::AbstractInputs)
Return whether the ex-ante demand file should be read.
IARA.read_ex_post_file
— Methodread_ex_post_file(files_to_read::Configurations_UncertaintyScenariosFiles.T)
Return whether the ex-post file should be read.
IARA.read_ex_post_inflow_file
— Methodread_ex_post_inflow_file(inputs::AbstractInputs)
Return whether the ex-ante inflow file should be read.
IARA.read_ex_post_renewable_file
— Methodread_ex_post_renewable_file(inputs::AbstractInputs)
Return whether the ex-ante renewable file should be read.
IARA.read_inflow_from_file
— Methodread_inflow_from_file(inputs::AbstractInputs)
Return whether inflow should be read from a file.
IARA.read_serialized_bid_price_limits
— Methodread_serialized_bid_price_limits(inputs::Inputs; period::Int, scenario::Int)
Read serialized bid price limits.
IARA.read_serialized_clearing_variable
— Methodread_serialized_clearing_variable(inputs::Inputs, clearing_model_subproblem::RunTime_ClearingSubproblem.T, symbol_to_read::Symbol; period::Int, scenario::Int)
Read serialized clearing variable.
IARA.read_serialized_heuristic_bids
— Methodread_serialized_heuristic_bids(inputs::Inputs; period::Int, scenario::Int)
Read serialized heuristic bids.
IARA.read_serialized_virtual_reservoir_heuristic_bids
— Methodread_serialized_virtual_reservoir_heuristic_bids(inputs::Inputs; period::Int, scenario::Int)
Read serialized virtual reservoir heuristic bids.
IARA.read_timeseries_file
— Methodread_time_series_file(file_path::String)
Read a time series file, in either .csv or .quiv format.
IARA.read_timeseries_file_in_outputs
— Methodread_timeseries_file_in_outputs(filename::String, inputs::Inputs)
Read a timeseries file in the outputs directory.
IARA.reference_curve_final_segment_price_markup
— Methodreference_curve_final_segment_price_markup(inputs::AbstractInputs)
Return the final segment price markup for the reference curve.
IARA.reference_curve_number_of_segments
— Methodreference_curve_number_of_segments(inputs::AbstractInputs)
Return the number of segments in the reference curve.
IARA.renewable_balance!
— Methodrenewable_balance!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the renewable unit balance constraints to the model.
IARA.renewable_generation!
— Methodrenewable_generation!(outputs, inputs::Inputs, run_time_options::RunTimeOptions, simulation_results::SimulationResultsFromPeriodScenario, period::Int, scenario::Int, subscenario::Int, ::Type{WriteOutput})
Write the renewable generation and curtailment variables' values to the output.
IARA.renewable_generation!
— Methodrenewable_generation!(outputs::Outputs, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{InitializeOutput})
Initialize the output files for
- renewable generation
- renewable curtailment
IARA.renewable_generation!
— Methodrenewable_generation!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemUpdate})
Updates the renewable generation variables in the model.
IARA.renewable_generation!
— Methodrenewable_generation!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the renewable unit generation variables to the model.
IARA.renewable_scenarios_files
— Methodrenewable_scenarios_files(inputs::AbstractInputs)
Return which renewable scenarios files should be read.
IARA.renewable_unit_bidding_group_index
— Methodrenewable_unit_bidding_group_index(renewable_unit::AbstractCollection, i::Integer)
Get the biddinggroupindex field from the RenewableUnit collection at index i.
IARA.renewable_unit_bidding_group_index
— Methodrenewable_unit_bidding_group_index(collections::AbstractCollections, i::Integer)
Get the biddinggroupindex field from the RenewableUnit collection at index i.
IARA.renewable_unit_bidding_group_index
— Methodrenewable_unit_bidding_group_index(collections::AbstractCollections)
Get the bidding_group_index
field from the RenewableUnit
collection.
IARA.renewable_unit_bidding_group_index
— Methodrenewable_unit_bidding_group_index(renewable_unit::AbstractCollection)
Get the bidding_group_index
field from the RenewableUnit
collection.
IARA.renewable_unit_bidding_group_index
— Methodrenewable_unit_bidding_group_index(inputs::AbstractInputs, i::Integer)
Get the biddinggroupindex field from the RenewableUnit collection at index i.
IARA.renewable_unit_bidding_group_index
— Methodrenewable_unit_bidding_group_index(inputs::AbstractInputs)
Get the bidding_group_index
field from the RenewableUnit
collection.
IARA.renewable_unit_bus_index
— Methodrenewable_unit_bus_index(renewable_unit::AbstractCollection, i::Integer)
Get the bus_index field from the RenewableUnit collection at index i.
IARA.renewable_unit_bus_index
— Methodrenewable_unit_bus_index(collections::AbstractCollections, i::Integer)
Get the bus_index field from the RenewableUnit collection at index i.
IARA.renewable_unit_bus_index
— Methodrenewable_unit_bus_index(collections::AbstractCollections)
Get the bus_index
field from the RenewableUnit
collection.
IARA.renewable_unit_bus_index
— Methodrenewable_unit_bus_index(renewable_unit::AbstractCollection)
Get the bus_index
field from the RenewableUnit
collection.
IARA.renewable_unit_bus_index
— Methodrenewable_unit_bus_index(inputs::AbstractInputs, i::Integer)
Get the bus_index field from the RenewableUnit collection at index i.
IARA.renewable_unit_bus_index
— Methodrenewable_unit_bus_index(inputs::AbstractInputs)
Get the bus_index
field from the RenewableUnit
collection.
IARA.renewable_unit_curtailment_cost
— Methodrenewable_unit_curtailment_cost(renewable_unit::AbstractCollection, i::Integer)
Get the curtailment_cost field from the RenewableUnit collection at index i.
IARA.renewable_unit_curtailment_cost
— Methodrenewable_unit_curtailment_cost(collections::AbstractCollections, i::Integer)
Get the curtailment_cost field from the RenewableUnit collection at index i.
IARA.renewable_unit_curtailment_cost
— Methodrenewable_unit_curtailment_cost(collections::AbstractCollections)
Get the curtailment_cost
field from the RenewableUnit
collection.
IARA.renewable_unit_curtailment_cost
— Methodrenewable_unit_curtailment_cost(renewable_unit::AbstractCollection)
Get the curtailment_cost
field from the RenewableUnit
collection.
IARA.renewable_unit_curtailment_cost
— Methodrenewable_unit_curtailment_cost(inputs::AbstractInputs, i::Integer)
Get the curtailment_cost field from the RenewableUnit collection at index i.
IARA.renewable_unit_curtailment_cost
— Methodrenewable_unit_curtailment_cost(inputs::AbstractInputs)
Get the curtailment_cost
field from the RenewableUnit
collection.
IARA.renewable_unit_existing
— Methodrenewable_unit_existing(renewable_unit::AbstractCollection, i::Integer)
Get the existing field from the RenewableUnit collection at index i.
IARA.renewable_unit_existing
— Methodrenewable_unit_existing(collections::AbstractCollections, i::Integer)
Get the existing field from the RenewableUnit collection at index i.
IARA.renewable_unit_existing
— Methodrenewable_unit_existing(collections::AbstractCollections)
Get the existing
field from the RenewableUnit
collection.
IARA.renewable_unit_existing
— Methodrenewable_unit_existing(renewable_unit::AbstractCollection)
Get the existing
field from the RenewableUnit
collection.
IARA.renewable_unit_existing
— Methodrenewable_unit_existing(inputs::AbstractInputs, i::Integer)
Get the existing field from the RenewableUnit collection at index i.
IARA.renewable_unit_existing
— Methodrenewable_unit_existing(inputs::AbstractInputs)
Get the existing
field from the RenewableUnit
collection.
IARA.renewable_unit_generation_ex_ante_file
— Methodrenewable_unit_generation_ex_ante_file(renewable_unit::AbstractCollection, i::Integer)
Get the generationexante_file field from the RenewableUnit collection at index i.
IARA.renewable_unit_generation_ex_ante_file
— Methodrenewable_unit_generation_ex_ante_file(collections::AbstractCollections, i::Integer)
Get the generationexante_file field from the RenewableUnit collection at index i.
IARA.renewable_unit_generation_ex_ante_file
— Methodrenewable_unit_generation_ex_ante_file(collections::AbstractCollections)
Get the generation_ex_ante_file
field from the RenewableUnit
collection.
IARA.renewable_unit_generation_ex_ante_file
— Methodrenewable_unit_generation_ex_ante_file(renewable_unit::AbstractCollection)
Get the generation_ex_ante_file
field from the RenewableUnit
collection.
IARA.renewable_unit_generation_ex_ante_file
— Methodrenewable_unit_generation_ex_ante_file(inputs::AbstractInputs, i::Integer)
Get the generationexante_file field from the RenewableUnit collection at index i.
IARA.renewable_unit_generation_ex_ante_file
— Methodrenewable_unit_generation_ex_ante_file(inputs::AbstractInputs)
Get the generation_ex_ante_file
field from the RenewableUnit
collection.
IARA.renewable_unit_generation_ex_post_file
— Methodrenewable_unit_generation_ex_post_file(renewable_unit::AbstractCollection, i::Integer)
Get the generationexpost_file field from the RenewableUnit collection at index i.
IARA.renewable_unit_generation_ex_post_file
— Methodrenewable_unit_generation_ex_post_file(collections::AbstractCollections, i::Integer)
Get the generationexpost_file field from the RenewableUnit collection at index i.
IARA.renewable_unit_generation_ex_post_file
— Methodrenewable_unit_generation_ex_post_file(collections::AbstractCollections)
Get the generation_ex_post_file
field from the RenewableUnit
collection.
IARA.renewable_unit_generation_ex_post_file
— Methodrenewable_unit_generation_ex_post_file(renewable_unit::AbstractCollection)
Get the generation_ex_post_file
field from the RenewableUnit
collection.
IARA.renewable_unit_generation_ex_post_file
— Methodrenewable_unit_generation_ex_post_file(inputs::AbstractInputs, i::Integer)
Get the generationexpost_file field from the RenewableUnit collection at index i.
IARA.renewable_unit_generation_ex_post_file
— Methodrenewable_unit_generation_ex_post_file(inputs::AbstractInputs)
Get the generation_ex_post_file
field from the RenewableUnit
collection.
IARA.renewable_unit_label
— Methodrenewable_unit_label(renewable_unit::AbstractCollection, i::Integer)
Get the label field from the RenewableUnit collection at index i.
IARA.renewable_unit_label
— Methodrenewable_unit_label(collections::AbstractCollections, i::Integer)
Get the label field from the RenewableUnit collection at index i.
IARA.renewable_unit_label
— Methodrenewable_unit_label(collections::AbstractCollections)
Get the label
field from the RenewableUnit
collection.
IARA.renewable_unit_label
— Methodrenewable_unit_label(renewable_unit::AbstractCollection)
Get the label
field from the RenewableUnit
collection.
IARA.renewable_unit_label
— Methodrenewable_unit_label(inputs::AbstractInputs, i::Integer)
Get the label field from the RenewableUnit collection at index i.
IARA.renewable_unit_label
— Methodrenewable_unit_label(inputs::AbstractInputs)
Get the label
field from the RenewableUnit
collection.
IARA.renewable_unit_max_generation
— Methodrenewable_unit_max_generation(renewable_unit::AbstractCollection, i::Integer)
Get the max_generation field from the RenewableUnit collection at index i.
IARA.renewable_unit_max_generation
— Methodrenewable_unit_max_generation(collections::AbstractCollections, i::Integer)
Get the max_generation field from the RenewableUnit collection at index i.
IARA.renewable_unit_max_generation
— Methodrenewable_unit_max_generation(collections::AbstractCollections)
Get the max_generation
field from the RenewableUnit
collection.
IARA.renewable_unit_max_generation
— Methodrenewable_unit_max_generation(renewable_unit::AbstractCollection)
Get the max_generation
field from the RenewableUnit
collection.
IARA.renewable_unit_max_generation
— Methodrenewable_unit_max_generation(inputs::AbstractInputs, i::Integer)
Get the max_generation field from the RenewableUnit collection at index i.
IARA.renewable_unit_max_generation
— Methodrenewable_unit_max_generation(inputs::AbstractInputs)
Get the max_generation
field from the RenewableUnit
collection.
IARA.renewable_unit_om_cost
— Methodrenewable_unit_om_cost(renewable_unit::AbstractCollection, i::Integer)
Get the om_cost field from the RenewableUnit collection at index i.
IARA.renewable_unit_om_cost
— Methodrenewable_unit_om_cost(collections::AbstractCollections, i::Integer)
Get the om_cost field from the RenewableUnit collection at index i.
IARA.renewable_unit_om_cost
— Methodrenewable_unit_om_cost(collections::AbstractCollections)
Get the om_cost
field from the RenewableUnit
collection.
IARA.renewable_unit_om_cost
— Methodrenewable_unit_om_cost(renewable_unit::AbstractCollection)
Get the om_cost
field from the RenewableUnit
collection.
IARA.renewable_unit_om_cost
— Methodrenewable_unit_om_cost(inputs::AbstractInputs, i::Integer)
Get the om_cost field from the RenewableUnit collection at index i.
IARA.renewable_unit_om_cost
— Methodrenewable_unit_om_cost(inputs::AbstractInputs)
Get the om_cost
field from the RenewableUnit
collection.
IARA.renewable_unit_technology_type
— Methodrenewable_unit_technology_type(renewable_unit::AbstractCollection, i::Integer)
Get the technology_type field from the RenewableUnit collection at index i.
IARA.renewable_unit_technology_type
— Methodrenewable_unit_technology_type(collections::AbstractCollections, i::Integer)
Get the technology_type field from the RenewableUnit collection at index i.
IARA.renewable_unit_technology_type
— Methodrenewable_unit_technology_type(collections::AbstractCollections)
Get the technology_type
field from the RenewableUnit
collection.
IARA.renewable_unit_technology_type
— Methodrenewable_unit_technology_type(renewable_unit::AbstractCollection)
Get the technology_type
field from the RenewableUnit
collection.
IARA.renewable_unit_technology_type
— Methodrenewable_unit_technology_type(inputs::AbstractInputs, i::Integer)
Get the technology_type field from the RenewableUnit collection at index i.
IARA.renewable_unit_technology_type
— Methodrenewable_unit_technology_type(inputs::AbstractInputs)
Get the technology_type
field from the RenewableUnit
collection.
IARA.reshape_time_series!
— Functionreshape_time_series!(::Type{<:PlotType}, data::Array{<:AbstractFloat, N}, agent_names::Vector{String}, dimensions::Vector{String}; kwargs...)
Reduce the dimension of the data array by merging the dimensions, according to the plot type.
IARA.revenue_convex_combination!
— Methodrevenue_convex_combination!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the revenue convex combination constraints to the model.
IARA.run_algorithms
— Methodrun_algorithms(inputs)
Run the algorithms according to the run mode.
IARA.run_clearing_simulation
— Methodrun_clearing_simulation(
model::ProblemModel,
inputs::Inputs,
outputs::Outputs,
run_time_options::RunTimeOptions,
period::Int,
)
Run the clearing simulation.
IARA.run_mode
— Methodrun_mode(inputs::AbstractInputs)
Return the run mode.
IARA.scale_cuts
— Methodscale_cuts(input_file::String, output_file::String, factor::Float64)
Read FCF cuts from inputfile, multiply all intercepts and coefficients by factor (preserving states), and save the result to outputfile.
IARA.scenarios
— Methodscenarios(inputs::AbstractInputs)
Return all problem scenarios.
IARA.serialize_bid_price_limits
— Methodserialize_bid_price_limits(inputs::Inputs, bidding_group_bid_price_limit_not_justified_independent::Array{Float64, 1}, bidding_group_bid_price_limit_justified_independent::Array{Float64, 1}, bidding_group_bid_price_limit_not_justified_profile::Array{Float64, 1}, bidding_group_bid_price_limit_justified_profile::Array{Float64, 1}; period::Int, scenario::Int)
Serialize bid price limits.
IARA.serialize_clearing_variables
— Methodserialize_clearing_variables(outputs::Outputs, inputs::Inputs, run_time_options::RunTimeOptions, simulation_results::SimulationResultsFromPeriodScenario; period::Int, scenario::Int)
Serialize clearing variables.
IARA.serialize_heuristic_bids
— Methodserialize_heuristic_bids(inputs::Inputs, quantity_offer::Array{Float64, 4}, price_offer::Array{Float64, 4}; period::Int, scenario::Int)
Serialize heuristic bids.
IARA.serialize_virtual_reservoir_heuristic_bids
— Methodserialize_virtual_reservoir_heuristic_bids(inputs::Inputs, quantity_offer::Array{Float64, 3}, price_offer::Array{Float64, 3}; period::Int, scenario::Int)
Serialize virtual reservoir heuristic bids.
IARA.set_custom_hook
— Methodset_custom_hook(
node::SDDP.Node,
inputs::Inputs,
t::Integer,
scen::Integer,
subscenario::Integer,
)
Set hooks to write lps to the file if user asks to write lps or if the model is infeasible. Also, set hooks to fix integer variables from previous problem, fix integer variables, and relax integrality.
IARA.set_hydro_spill_to!
— Methodset_hydro_spill_to!(db::DatabaseSQLite, hydro_unit_from::String, hydro_unit_to::String)
Link two Hydro Units by setting the downstream spillage Hydro Unit.
Example:
IARA.set_hydro_spill_to!(db, "hydro_1", "hydro_2")
IARA.set_hydro_turbine_to!
— Methodset_hydro_turbine_to!(db::DatabaseSQLite, hydro_unit_from::String, hydro_unit_to::String)
Link two Hydro Units by setting the downstream turbining Hydro Unit.
Example:
IARA.set_hydro_turbine_to!(db, "hydro_1", "hydro_2")
IARA.settlement_type
— Methodsettlement_type(inputs::AbstractInputs)
Return the settlement type.
IARA.simulate_all_periods_and_scenarios_of_market_clearing
— Methodsimulate_all_periods_and_scenarios_of_market_clearing(inputs::Inputs)
Simulate all periods and scenarios of the market clearing.
IARA.simulate_all_periods_and_scenarios_of_trained_model
— Methodsimulate_all_periods_and_scenarios_of_trained_model(
model::ProblemModel,
inputs::Inputs,
outputs::Outputs,
run_time_options::RunTimeOptions,
)
Simulate all periods and scenarios of a trained model.
IARA.simulate_all_scenarios_of_single_period_market_clearing
— Methodsimulate_all_scenarios_of_single_period_market_clearing(inputs::Inputs)
Simulate all periods and scenarios of the market clearing.
IARA.single_period_heuristic_bid
— Methodsingle_period_heuristic_bid(inputs::Inputs)
Generate heuristic bids for a single period.
IARA.single_period_heuristic_bid
— Methodsingle_period_heuristic_bid(path::String; kwargs...)
Generate heuristic bids for a single period.
keywords:
outputs_path::String
. Path to the outputs. default = joinpath(path, "outputs")plot_outputs::Bool
. Plot all outputs after the run. default = truewrite_lp::Bool
. Write the LP files. default = falsedelete_output_folder_before_execution::Bool
. Delete the output folder before execution. default = false
IARA.single_period_market_clearing
— Methodsingle_period_market_clearing(path::String; kwargs...)
Run the model with the single period market clearing strategy.
keywords:
outputs_path::String
. Path to the outputs. default = joinpath(path, "outputs")plot_outputs::Bool
. Plot all outputs after the run. default = truewrite_lp::Bool
. Write the LP files. default = falsedelete_output_folder_before_execution::Bool
. Delete the output folder before execution. default = false
IARA.skip_clearing_subproblem
— Methodskip_clearing_subproblem(inputs::Inputs, run_time_options::RunTimeOptions)
Check if the clearing subproblem should be skipped.
IARA.some_branch_does_not_have_dc_flag
— Methodsome_branch_does_not_have_dc_flag(inputs::AbstractInputs)
Check if not all Branches are modeled as DC Lines.
IARA.strategic_bid
— Methodstrategic_bid(path::String; kwargs...)
Run the model with the strategic bid strategy.
keywords:
outputs_path::String
. Path to the outputs. default = joinpath(path, "outputs")plot_outputs::Bool
. Plot all outputs after the run. default = truewrite_lp::Bool
. Write the LP files. default = falsedelete_output_folder_before_execution::Bool
. Delete the output folder before execution. default = false
IARA.strategic_bid_model_action
— Methodstrategic_bid_model_action(args...)
Strategic bid model action.
IARA.subperiod_duration_in_hours
— Methodsubperiod_duration_in_hours(inputs::AbstractInputs, subperiod::Int)
Return the subperiod duration in hours for a given subperiod.
IARA.subperiod_duration_in_hours
— Methodsubperiod_duration_in_hours(inputs::AbstractInputs)
Return the subperiod duration in hours for all subperiods.
IARA.subperiod_hour_map
— Methodsubperiod_hour_map(inputs)
Return a vector of vectors, mapping each subperiod to multiple hours.
IARA.subperiods
— Methodsubperiods(inputs::AbstractInputs)
Return all problem subperiods.
IARA.subperiods_in_flexible_demand_window
— Methodsubperiods_in_flexible_demand_window(inputs::AbstractInputs, idx::Int, w::Int)
Return the set of subperiods in the window 'w' of the flexible Demand in position 'idx'.
IARA.subscenarios
— Methodsubscenarios(inputs::AbstractInputs, run_time_options)
Return all subscenarios to simulate.
IARA.summarize
— Methodsummarize(path::String; run_mode::String = "market-clearing")
Summarize the case based on the run_mode
passed.
The available run modes are:
- train-min-cost
- min-cost
- price-taker-bid
- strategic-bid
- market-clearing
- single-period-market-clearing
- single-period-heuristic-bid
- interface-call
- single-period-hydro-supply-reference-curve
IARA.thermal_commitment!
— Methodthermal_commitment!(outputs, inputs::Inputs, run_time_options::RunTimeOptions, simulation_results::SimulationResultsFromPeriodScenario, period::Int, scenario::Int, subscenario::Int, ::Type{WriteOutput})
Write the thermal unit commitment variables' values to the output file.
IARA.thermal_commitment!
— Methodthermal_commitment!(outputs::Outputs, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{InitializeOutput})
Initialize the output file to store the thermal unit commitment variables' values.
IARA.thermal_commitment!
— Methodthermal_commitment!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the thermal unit commitment variables to the model.
IARA.thermal_generation!
— Methodthermal_generation!(outputs, inputs::Inputs, run_time_options::RunTimeOptions, simulation_results::SimulationResultsFromPeriodScenario, period::Int, scenario::Int, subscenario::Int, ::Type{WriteOutput})
Write the thermal unit generation variables' values to the output file.
IARA.thermal_generation!
— Methodthermal_generation!(outputs::Outputs, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{InitializeOutput})
Initialize the output file to store the thermal unit generation variables' values.
IARA.thermal_generation!
— Methodthermal_generation!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the thermal unit generation variables to the model.
IARA.thermal_generation_bound_by_commitment!
— Methodthermal_generation_bound_by_commitment!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the thermal unit generation bound by commitment constraints to the model.
IARA.thermal_min_max_up_down_time!
— Methodthermal_min_max_up_down_time!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the thermal unit minimum and maximum up and down time constraints to the model.
IARA.thermal_ramp!
— Methodthermal_ramp!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the thermal unit ramp constraints to the model.
IARA.thermal_startup_and_shutdown!
— Methodthermal_startup_and_shutdown!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the thermal unit startup and shutdown constraints to the model.
IARA.thermal_unit_bidding_group_index
— Methodthermal_unit_bidding_group_index(thermal_unit::AbstractCollection, i::Integer)
Get the biddinggroupindex field from the ThermalUnit collection at index i.
IARA.thermal_unit_bidding_group_index
— Methodthermal_unit_bidding_group_index(collections::AbstractCollections, i::Integer)
Get the biddinggroupindex field from the ThermalUnit collection at index i.
IARA.thermal_unit_bidding_group_index
— Methodthermal_unit_bidding_group_index(collections::AbstractCollections)
Get the bidding_group_index
field from the ThermalUnit
collection.
IARA.thermal_unit_bidding_group_index
— Methodthermal_unit_bidding_group_index(thermal_unit::AbstractCollection)
Get the bidding_group_index
field from the ThermalUnit
collection.
IARA.thermal_unit_bidding_group_index
— Methodthermal_unit_bidding_group_index(inputs::AbstractInputs, i::Integer)
Get the biddinggroupindex field from the ThermalUnit collection at index i.
IARA.thermal_unit_bidding_group_index
— Methodthermal_unit_bidding_group_index(inputs::AbstractInputs)
Get the bidding_group_index
field from the ThermalUnit
collection.
IARA.thermal_unit_bus_index
— Methodthermal_unit_bus_index(thermal_unit::AbstractCollection, i::Integer)
Get the bus_index field from the ThermalUnit collection at index i.
IARA.thermal_unit_bus_index
— Methodthermal_unit_bus_index(collections::AbstractCollections, i::Integer)
Get the bus_index field from the ThermalUnit collection at index i.
IARA.thermal_unit_bus_index
— Methodthermal_unit_bus_index(collections::AbstractCollections)
Get the bus_index
field from the ThermalUnit
collection.
IARA.thermal_unit_bus_index
— Methodthermal_unit_bus_index(thermal_unit::AbstractCollection)
Get the bus_index
field from the ThermalUnit
collection.
IARA.thermal_unit_bus_index
— Methodthermal_unit_bus_index(inputs::AbstractInputs, i::Integer)
Get the bus_index field from the ThermalUnit collection at index i.
IARA.thermal_unit_bus_index
— Methodthermal_unit_bus_index(inputs::AbstractInputs)
Get the bus_index
field from the ThermalUnit
collection.
IARA.thermal_unit_commitment_initial_condition
— Methodthermal_unit_commitment_initial_condition(thermal_unit::AbstractCollection, i::Integer)
Get the commitmentinitialcondition field from the ThermalUnit collection at index i.
IARA.thermal_unit_commitment_initial_condition
— Methodthermal_unit_commitment_initial_condition(collections::AbstractCollections, i::Integer)
Get the commitmentinitialcondition field from the ThermalUnit collection at index i.
IARA.thermal_unit_commitment_initial_condition
— Methodthermal_unit_commitment_initial_condition(collections::AbstractCollections)
Get the commitment_initial_condition
field from the ThermalUnit
collection.
IARA.thermal_unit_commitment_initial_condition
— Methodthermal_unit_commitment_initial_condition(thermal_unit::AbstractCollection)
Get the commitment_initial_condition
field from the ThermalUnit
collection.
IARA.thermal_unit_commitment_initial_condition
— Methodthermal_unit_commitment_initial_condition(inputs::AbstractInputs, i::Integer)
Get the commitmentinitialcondition field from the ThermalUnit collection at index i.
IARA.thermal_unit_commitment_initial_condition
— Methodthermal_unit_commitment_initial_condition(inputs::AbstractInputs)
Get the commitment_initial_condition
field from the ThermalUnit
collection.
IARA.thermal_unit_downtime_initial_condition
— Methodthermal_unit_downtime_initial_condition(thermal_unit::AbstractCollection, i::Integer)
Get the downtimeinitialcondition field from the ThermalUnit collection at index i.
IARA.thermal_unit_downtime_initial_condition
— Methodthermal_unit_downtime_initial_condition(collections::AbstractCollections, i::Integer)
Get the downtimeinitialcondition field from the ThermalUnit collection at index i.
IARA.thermal_unit_downtime_initial_condition
— Methodthermal_unit_downtime_initial_condition(collections::AbstractCollections)
Get the downtime_initial_condition
field from the ThermalUnit
collection.
IARA.thermal_unit_downtime_initial_condition
— Methodthermal_unit_downtime_initial_condition(thermal_unit::AbstractCollection)
Get the downtime_initial_condition
field from the ThermalUnit
collection.
IARA.thermal_unit_downtime_initial_condition
— Methodthermal_unit_downtime_initial_condition(inputs::AbstractInputs, i::Integer)
Get the downtimeinitialcondition field from the ThermalUnit collection at index i.
IARA.thermal_unit_downtime_initial_condition
— Methodthermal_unit_downtime_initial_condition(inputs::AbstractInputs)
Get the downtime_initial_condition
field from the ThermalUnit
collection.
IARA.thermal_unit_existing
— Methodthermal_unit_existing(thermal_unit::AbstractCollection, i::Integer)
Get the existing field from the ThermalUnit collection at index i.
IARA.thermal_unit_existing
— Methodthermal_unit_existing(collections::AbstractCollections, i::Integer)
Get the existing field from the ThermalUnit collection at index i.
IARA.thermal_unit_existing
— Methodthermal_unit_existing(collections::AbstractCollections)
Get the existing
field from the ThermalUnit
collection.
IARA.thermal_unit_existing
— Methodthermal_unit_existing(thermal_unit::AbstractCollection)
Get the existing
field from the ThermalUnit
collection.
IARA.thermal_unit_existing
— Methodthermal_unit_existing(inputs::AbstractInputs, i::Integer)
Get the existing field from the ThermalUnit collection at index i.
IARA.thermal_unit_existing
— Methodthermal_unit_existing(inputs::AbstractInputs)
Get the existing
field from the ThermalUnit
collection.
IARA.thermal_unit_generation_initial_condition
— Methodthermal_unit_generation_initial_condition(thermal_unit::AbstractCollection, i::Integer)
Get the generationinitialcondition field from the ThermalUnit collection at index i.
IARA.thermal_unit_generation_initial_condition
— Methodthermal_unit_generation_initial_condition(collections::AbstractCollections, i::Integer)
Get the generationinitialcondition field from the ThermalUnit collection at index i.
IARA.thermal_unit_generation_initial_condition
— Methodthermal_unit_generation_initial_condition(collections::AbstractCollections)
Get the generation_initial_condition
field from the ThermalUnit
collection.
IARA.thermal_unit_generation_initial_condition
— Methodthermal_unit_generation_initial_condition(thermal_unit::AbstractCollection)
Get the generation_initial_condition
field from the ThermalUnit
collection.
IARA.thermal_unit_generation_initial_condition
— Methodthermal_unit_generation_initial_condition(inputs::AbstractInputs, i::Integer)
Get the generationinitialcondition field from the ThermalUnit collection at index i.
IARA.thermal_unit_generation_initial_condition
— Methodthermal_unit_generation_initial_condition(inputs::AbstractInputs)
Get the generation_initial_condition
field from the ThermalUnit
collection.
IARA.thermal_unit_has_commitment
— Methodthermal_unit_has_commitment(thermal_unit::AbstractCollection, i::Integer)
Get the has_commitment field from the ThermalUnit collection at index i.
IARA.thermal_unit_has_commitment
— Methodthermal_unit_has_commitment(collections::AbstractCollections, i::Integer)
Get the has_commitment field from the ThermalUnit collection at index i.
IARA.thermal_unit_has_commitment
— Methodthermal_unit_has_commitment(collections::AbstractCollections)
Get the has_commitment
field from the ThermalUnit
collection.
IARA.thermal_unit_has_commitment
— Methodthermal_unit_has_commitment(thermal_unit::AbstractCollection)
Get the has_commitment
field from the ThermalUnit
collection.
IARA.thermal_unit_has_commitment
— Methodthermal_unit_has_commitment(inputs::AbstractInputs, i::Integer)
Get the has_commitment field from the ThermalUnit collection at index i.
IARA.thermal_unit_has_commitment
— Methodthermal_unit_has_commitment(inputs::AbstractInputs)
Get the has_commitment
field from the ThermalUnit
collection.
IARA.thermal_unit_label
— Methodthermal_unit_label(thermal_unit::AbstractCollection, i::Integer)
Get the label field from the ThermalUnit collection at index i.
IARA.thermal_unit_label
— Methodthermal_unit_label(collections::AbstractCollections, i::Integer)
Get the label field from the ThermalUnit collection at index i.
IARA.thermal_unit_label
— Methodthermal_unit_label(collections::AbstractCollections)
Get the label
field from the ThermalUnit
collection.
IARA.thermal_unit_label
— Methodthermal_unit_label(thermal_unit::AbstractCollection)
Get the label
field from the ThermalUnit
collection.
IARA.thermal_unit_label
— Methodthermal_unit_label(inputs::AbstractInputs, i::Integer)
Get the label field from the ThermalUnit collection at index i.
IARA.thermal_unit_label
— Methodthermal_unit_label(inputs::AbstractInputs)
Get the label
field from the ThermalUnit
collection.
IARA.thermal_unit_max_generation
— Methodthermal_unit_max_generation(thermal_unit::AbstractCollection, i::Integer)
Get the max_generation field from the ThermalUnit collection at index i.
IARA.thermal_unit_max_generation
— Methodthermal_unit_max_generation(collections::AbstractCollections, i::Integer)
Get the max_generation field from the ThermalUnit collection at index i.
IARA.thermal_unit_max_generation
— Methodthermal_unit_max_generation(collections::AbstractCollections)
Get the max_generation
field from the ThermalUnit
collection.
IARA.thermal_unit_max_generation
— Methodthermal_unit_max_generation(thermal_unit::AbstractCollection)
Get the max_generation
field from the ThermalUnit
collection.
IARA.thermal_unit_max_generation
— Methodthermal_unit_max_generation(inputs::AbstractInputs, i::Integer)
Get the max_generation field from the ThermalUnit collection at index i.
IARA.thermal_unit_max_generation
— Methodthermal_unit_max_generation(inputs::AbstractInputs)
Get the max_generation
field from the ThermalUnit
collection.
IARA.thermal_unit_max_ramp_down
— Methodthermal_unit_max_ramp_down(thermal_unit::AbstractCollection, i::Integer)
Get the maxrampdown field from the ThermalUnit collection at index i.
IARA.thermal_unit_max_ramp_down
— Methodthermal_unit_max_ramp_down(collections::AbstractCollections, i::Integer)
Get the maxrampdown field from the ThermalUnit collection at index i.
IARA.thermal_unit_max_ramp_down
— Methodthermal_unit_max_ramp_down(collections::AbstractCollections)
Get the max_ramp_down
field from the ThermalUnit
collection.
IARA.thermal_unit_max_ramp_down
— Methodthermal_unit_max_ramp_down(thermal_unit::AbstractCollection)
Get the max_ramp_down
field from the ThermalUnit
collection.
IARA.thermal_unit_max_ramp_down
— Methodthermal_unit_max_ramp_down(inputs::AbstractInputs, i::Integer)
Get the maxrampdown field from the ThermalUnit collection at index i.
IARA.thermal_unit_max_ramp_down
— Methodthermal_unit_max_ramp_down(inputs::AbstractInputs)
Get the max_ramp_down
field from the ThermalUnit
collection.
IARA.thermal_unit_max_ramp_up
— Methodthermal_unit_max_ramp_up(thermal_unit::AbstractCollection, i::Integer)
Get the maxrampup field from the ThermalUnit collection at index i.
IARA.thermal_unit_max_ramp_up
— Methodthermal_unit_max_ramp_up(collections::AbstractCollections, i::Integer)
Get the maxrampup field from the ThermalUnit collection at index i.
IARA.thermal_unit_max_ramp_up
— Methodthermal_unit_max_ramp_up(collections::AbstractCollections)
Get the max_ramp_up
field from the ThermalUnit
collection.
IARA.thermal_unit_max_ramp_up
— Methodthermal_unit_max_ramp_up(thermal_unit::AbstractCollection)
Get the max_ramp_up
field from the ThermalUnit
collection.
IARA.thermal_unit_max_ramp_up
— Methodthermal_unit_max_ramp_up(inputs::AbstractInputs, i::Integer)
Get the maxrampup field from the ThermalUnit collection at index i.
IARA.thermal_unit_max_ramp_up
— Methodthermal_unit_max_ramp_up(inputs::AbstractInputs)
Get the max_ramp_up
field from the ThermalUnit
collection.
IARA.thermal_unit_max_shutdowns
— Methodthermal_unit_max_shutdowns(thermal_unit::AbstractCollection, i::Integer)
Get the max_shutdowns field from the ThermalUnit collection at index i.
IARA.thermal_unit_max_shutdowns
— Methodthermal_unit_max_shutdowns(collections::AbstractCollections, i::Integer)
Get the max_shutdowns field from the ThermalUnit collection at index i.
IARA.thermal_unit_max_shutdowns
— Methodthermal_unit_max_shutdowns(collections::AbstractCollections)
Get the max_shutdowns
field from the ThermalUnit
collection.
IARA.thermal_unit_max_shutdowns
— Methodthermal_unit_max_shutdowns(thermal_unit::AbstractCollection)
Get the max_shutdowns
field from the ThermalUnit
collection.
IARA.thermal_unit_max_shutdowns
— Methodthermal_unit_max_shutdowns(inputs::AbstractInputs, i::Integer)
Get the max_shutdowns field from the ThermalUnit collection at index i.
IARA.thermal_unit_max_shutdowns
— Methodthermal_unit_max_shutdowns(inputs::AbstractInputs)
Get the max_shutdowns
field from the ThermalUnit
collection.
IARA.thermal_unit_max_startups
— Methodthermal_unit_max_startups(thermal_unit::AbstractCollection, i::Integer)
Get the max_startups field from the ThermalUnit collection at index i.
IARA.thermal_unit_max_startups
— Methodthermal_unit_max_startups(collections::AbstractCollections, i::Integer)
Get the max_startups field from the ThermalUnit collection at index i.
IARA.thermal_unit_max_startups
— Methodthermal_unit_max_startups(collections::AbstractCollections)
Get the max_startups
field from the ThermalUnit
collection.
IARA.thermal_unit_max_startups
— Methodthermal_unit_max_startups(thermal_unit::AbstractCollection)
Get the max_startups
field from the ThermalUnit
collection.
IARA.thermal_unit_max_startups
— Methodthermal_unit_max_startups(inputs::AbstractInputs, i::Integer)
Get the max_startups field from the ThermalUnit collection at index i.
IARA.thermal_unit_max_startups
— Methodthermal_unit_max_startups(inputs::AbstractInputs)
Get the max_startups
field from the ThermalUnit
collection.
IARA.thermal_unit_max_uptime
— Methodthermal_unit_max_uptime(thermal_unit::AbstractCollection, i::Integer)
Get the max_uptime field from the ThermalUnit collection at index i.
IARA.thermal_unit_max_uptime
— Methodthermal_unit_max_uptime(collections::AbstractCollections, i::Integer)
Get the max_uptime field from the ThermalUnit collection at index i.
IARA.thermal_unit_max_uptime
— Methodthermal_unit_max_uptime(collections::AbstractCollections)
Get the max_uptime
field from the ThermalUnit
collection.
IARA.thermal_unit_max_uptime
— Methodthermal_unit_max_uptime(thermal_unit::AbstractCollection)
Get the max_uptime
field from the ThermalUnit
collection.
IARA.thermal_unit_max_uptime
— Methodthermal_unit_max_uptime(inputs::AbstractInputs, i::Integer)
Get the max_uptime field from the ThermalUnit collection at index i.
IARA.thermal_unit_max_uptime
— Methodthermal_unit_max_uptime(inputs::AbstractInputs)
Get the max_uptime
field from the ThermalUnit
collection.
IARA.thermal_unit_min_downtime
— Methodthermal_unit_min_downtime(thermal_unit::AbstractCollection, i::Integer)
Get the min_downtime field from the ThermalUnit collection at index i.
IARA.thermal_unit_min_downtime
— Methodthermal_unit_min_downtime(collections::AbstractCollections, i::Integer)
Get the min_downtime field from the ThermalUnit collection at index i.
IARA.thermal_unit_min_downtime
— Methodthermal_unit_min_downtime(collections::AbstractCollections)
Get the min_downtime
field from the ThermalUnit
collection.
IARA.thermal_unit_min_downtime
— Methodthermal_unit_min_downtime(thermal_unit::AbstractCollection)
Get the min_downtime
field from the ThermalUnit
collection.
IARA.thermal_unit_min_downtime
— Methodthermal_unit_min_downtime(inputs::AbstractInputs, i::Integer)
Get the min_downtime field from the ThermalUnit collection at index i.
IARA.thermal_unit_min_downtime
— Methodthermal_unit_min_downtime(inputs::AbstractInputs)
Get the min_downtime
field from the ThermalUnit
collection.
IARA.thermal_unit_min_generation
— Methodthermal_unit_min_generation(thermal_unit::AbstractCollection, i::Integer)
Get the min_generation field from the ThermalUnit collection at index i.
IARA.thermal_unit_min_generation
— Methodthermal_unit_min_generation(collections::AbstractCollections, i::Integer)
Get the min_generation field from the ThermalUnit collection at index i.
IARA.thermal_unit_min_generation
— Methodthermal_unit_min_generation(collections::AbstractCollections)
Get the min_generation
field from the ThermalUnit
collection.
IARA.thermal_unit_min_generation
— Methodthermal_unit_min_generation(thermal_unit::AbstractCollection)
Get the min_generation
field from the ThermalUnit
collection.
IARA.thermal_unit_min_generation
— Methodthermal_unit_min_generation(inputs, idx::Int)
Return the min_generation of the Thermal Unit at index 'idx'.
IARA.thermal_unit_min_generation
— Methodthermal_unit_min_generation(inputs::AbstractInputs, i::Integer)
Get the min_generation field from the ThermalUnit collection at index i.
IARA.thermal_unit_min_generation
— Methodthermal_unit_min_generation(inputs::AbstractInputs)
Get the min_generation
field from the ThermalUnit
collection.
IARA.thermal_unit_min_uptime
— Methodthermal_unit_min_uptime(thermal_unit::AbstractCollection, i::Integer)
Get the min_uptime field from the ThermalUnit collection at index i.
IARA.thermal_unit_min_uptime
— Methodthermal_unit_min_uptime(collections::AbstractCollections, i::Integer)
Get the min_uptime field from the ThermalUnit collection at index i.
IARA.thermal_unit_min_uptime
— Methodthermal_unit_min_uptime(collections::AbstractCollections)
Get the min_uptime
field from the ThermalUnit
collection.
IARA.thermal_unit_min_uptime
— Methodthermal_unit_min_uptime(thermal_unit::AbstractCollection)
Get the min_uptime
field from the ThermalUnit
collection.
IARA.thermal_unit_min_uptime
— Methodthermal_unit_min_uptime(inputs::AbstractInputs, i::Integer)
Get the min_uptime field from the ThermalUnit collection at index i.
IARA.thermal_unit_min_uptime
— Methodthermal_unit_min_uptime(inputs::AbstractInputs)
Get the min_uptime
field from the ThermalUnit
collection.
IARA.thermal_unit_om_cost
— Methodthermal_unit_om_cost(thermal_unit::AbstractCollection, i::Integer)
Get the om_cost field from the ThermalUnit collection at index i.
IARA.thermal_unit_om_cost
— Methodthermal_unit_om_cost(collections::AbstractCollections, i::Integer)
Get the om_cost field from the ThermalUnit collection at index i.
IARA.thermal_unit_om_cost
— Methodthermal_unit_om_cost(collections::AbstractCollections)
Get the om_cost
field from the ThermalUnit
collection.
IARA.thermal_unit_om_cost
— Methodthermal_unit_om_cost(thermal_unit::AbstractCollection)
Get the om_cost
field from the ThermalUnit
collection.
IARA.thermal_unit_om_cost
— Methodthermal_unit_om_cost(inputs::AbstractInputs, i::Integer)
Get the om_cost field from the ThermalUnit collection at index i.
IARA.thermal_unit_om_cost
— Methodthermal_unit_om_cost(inputs::AbstractInputs)
Get the om_cost
field from the ThermalUnit
collection.
IARA.thermal_unit_shutdown_cost
— Methodthermal_unit_shutdown_cost(thermal_unit::AbstractCollection, i::Integer)
Get the shutdown_cost field from the ThermalUnit collection at index i.
IARA.thermal_unit_shutdown_cost
— Methodthermal_unit_shutdown_cost(collections::AbstractCollections, i::Integer)
Get the shutdown_cost field from the ThermalUnit collection at index i.
IARA.thermal_unit_shutdown_cost
— Methodthermal_unit_shutdown_cost(collections::AbstractCollections)
Get the shutdown_cost
field from the ThermalUnit
collection.
IARA.thermal_unit_shutdown_cost
— Methodthermal_unit_shutdown_cost(thermal_unit::AbstractCollection)
Get the shutdown_cost
field from the ThermalUnit
collection.
IARA.thermal_unit_shutdown_cost
— Methodthermal_unit_shutdown_cost(inputs::AbstractInputs, i::Integer)
Get the shutdown_cost field from the ThermalUnit collection at index i.
IARA.thermal_unit_shutdown_cost
— Methodthermal_unit_shutdown_cost(inputs::AbstractInputs)
Get the shutdown_cost
field from the ThermalUnit
collection.
IARA.thermal_unit_startup_cost
— Methodthermal_unit_startup_cost(thermal_unit::AbstractCollection, i::Integer)
Get the startup_cost field from the ThermalUnit collection at index i.
IARA.thermal_unit_startup_cost
— Methodthermal_unit_startup_cost(collections::AbstractCollections, i::Integer)
Get the startup_cost field from the ThermalUnit collection at index i.
IARA.thermal_unit_startup_cost
— Methodthermal_unit_startup_cost(collections::AbstractCollections)
Get the startup_cost
field from the ThermalUnit
collection.
IARA.thermal_unit_startup_cost
— Methodthermal_unit_startup_cost(thermal_unit::AbstractCollection)
Get the startup_cost
field from the ThermalUnit
collection.
IARA.thermal_unit_startup_cost
— Methodthermal_unit_startup_cost(inputs::AbstractInputs, i::Integer)
Get the startup_cost field from the ThermalUnit collection at index i.
IARA.thermal_unit_startup_cost
— Methodthermal_unit_startup_cost(inputs::AbstractInputs)
Get the startup_cost
field from the ThermalUnit
collection.
IARA.thermal_unit_uptime_initial_condition
— Methodthermal_unit_uptime_initial_condition(thermal_unit::AbstractCollection, i::Integer)
Get the uptimeinitialcondition field from the ThermalUnit collection at index i.
IARA.thermal_unit_uptime_initial_condition
— Methodthermal_unit_uptime_initial_condition(collections::AbstractCollections, i::Integer)
Get the uptimeinitialcondition field from the ThermalUnit collection at index i.
IARA.thermal_unit_uptime_initial_condition
— Methodthermal_unit_uptime_initial_condition(collections::AbstractCollections)
Get the uptime_initial_condition
field from the ThermalUnit
collection.
IARA.thermal_unit_uptime_initial_condition
— Methodthermal_unit_uptime_initial_condition(thermal_unit::AbstractCollection)
Get the uptime_initial_condition
field from the ThermalUnit
collection.
IARA.thermal_unit_uptime_initial_condition
— Methodthermal_unit_uptime_initial_condition(inputs::AbstractInputs, i::Integer)
Get the uptimeinitialcondition field from the ThermalUnit collection at index i.
IARA.thermal_unit_uptime_initial_condition
— Methodthermal_unit_uptime_initial_condition(inputs::AbstractInputs)
Get the uptime_initial_condition
field from the ThermalUnit
collection.
IARA.time_series_bid_price_limit_justified_independent
— Methodtime_series_bid_price_limit_justified_independent(inputs)
Return the time series of price limits for justified independent bids.
IARA.time_series_bid_price_limit_justified_profile
— Methodtime_series_bid_price_limit_justified_profile(inputs)
Return the time series of price limits for justified profile bids.
IARA.time_series_bid_price_limit_non_justified_independent
— Methodtime_series_bid_price_limit_non_justified_independent(inputs)
Return the time series of price limits for non justified independent bids.
IARA.time_series_bid_price_limit_non_justified_profile
— Methodtime_series_bid_price_limit_non_justified_profile(inputs)
Return the time series of price limits for non justified profile bids.
IARA.time_series_complementary_grouping_profile
— Methodtime_series_complementary_grouping_profile(inputs::Inputs)
Return the complementary grouping profile time series.
IARA.time_series_dataframe
— Methodtime_series_dataframe(path::String)
Reads a time series from a file and returns a DataFrame.
IARA.time_series_demand
— Methodtime_series_demand(inputs::Inputs, run_time_options::RunTimeOptions; subscenario::Int)
Return the demand time series for the given subscenario.
IARA.time_series_elastic_demand_price
— Methodtime_series_elastic_demand_price(inputs)
Return the elastic demand price time series.
IARA.time_series_hydro_generation
— Methodtime_series_hydro_generation(inputs)
Return the hydro generation time series.
IARA.time_series_hydro_opportunity_cost
— Methodtime_series_hydro_opportunity_cost(inputs)
Return the hydro opportunity cost time series.
IARA.time_series_inflow
— Methodtime_series_inflow(inputs::Inputs, run_time_options::RunTimeOptions; subscenario::Int)
Return the inflow time series for the given subscenario.
IARA.time_series_inflow_noise
— Methodtime_series_inflow_noise(inputs)
Return the inflow noise time series.
IARA.time_series_inflow_period_average
— Methodtime_series_inflow_period_average(inputs)
Return the inflow period average time series.
IARA.time_series_inflow_period_std_dev
— Methodtime_series_inflow_period_std_dev(inputs)
Return the inflow period standard deviation time series.
IARA.time_series_parent_profile
— Methodtime_series_parent_profile(inputs::Inputs)
Return the parent profile profile time series.
IARA.time_series_parp_coefficients
— Methodtime_series_parp_coefficients(inputs)
Return the PAR(p) coefficients time series.
IARA.time_series_price_offer
— Methodtime_series_price_offer(inputs, period::Int, scenario::Int)
Return the price offer time series for the given period and scenario.
IARA.time_series_price_offer
— Methodtime_series_price_offer(inputs::Inputs)
Return the price offer time series.
IARA.time_series_price_offer_profile
— Methodtime_series_price_offer_profile(inputs::Inputs)
Return the price offer profile time series.
IARA.time_series_quantity_offer
— Methodtime_series_quantity_offer(inputs::Inputs, period::Int, scenario::Int)
Return the quantity offer time series for the given period and scenario.
IARA.time_series_quantity_offer
— Methodtime_series_quantity_offer(inputs::Inputs)
Return the quantity offer time series.
IARA.time_series_quantity_offer_profile
— Methodtime_series_quantity_offer_profile(inputs::Inputs)
Return the quantity offer profile time series.
IARA.time_series_renewable_generation
— Methodtime_series_renewable_generation(inputs::Inputs, run_time_options::RunTimeOptions; subscenario::Int)
Return the renewable generation time series for the given subscenario.
IARA.time_series_spot_price
— Methodtime_series_spot_price(inputs::Inputs)
Return the spot price time series.
IARA.time_series_step
— Methodtime_series_step(inputs::AbstractInputs)
Return the Time series step.
IARA.time_series_virtual_reservoir_price_offer
— Methodtime_series_virtual_reservoir_price_offer(inputs, period::Int, scenario::Int)
Return the virtual reservoir price offer time series for the given period and scenario.
IARA.time_series_virtual_reservoir_price_offer
— Methodtime_series_virtual_reservoir_price_offer(inputs)
Return the virtual reservoir price offer time series.
IARA.time_series_virtual_reservoir_quantity_offer
— Methodtime_series_virtual_reservoir_quantity_offer(inputs, period::Int, scenario::Int)
Return the virtual reservoir quantity offer time series for the given period and scenario.
IARA.time_series_virtual_reservoir_quantity_offer
— Methodtime_series_virtual_reservoir_quantity_offer(inputs::Inputs)
Return the virtual reservoir quantity offer time series.
IARA.train_min_cost
— Methodtrain_min_cost(path::String; kwargs...)
Train the model to minimize the total cost of the system.
keywords:
outputs_path::String
. Path to the outputs. default = joinpath(path, "outputs")plot_outputs::Bool
. Plot all outputs after the run. default = truewrite_lp::Bool
. Write the LP files. default = falsedelete_output_folder_before_execution::Bool
. Delete the output folder before execution. default = false
IARA.train_min_cost_model_action
— Methodtrain_min_cost_model_action(args...)
Min cost model action.
IARA.train_mincost_iteration_limit
— Methodtrain_mincost_iteration_limit(inputs::AbstractInputs)
Return the iteration limit.
IARA.train_mincost_time_limit_sec
— Methodtrain_mincost_time_limit_sec(inputs::AbstractInputs)
Return the time limit for the case.
IARA.train_model_and_run_simulation
— Methodtrain_model_and_run_simulation(inputs::Inputs, run_time_options::RunTimeOptions)
Train the model and run the simulation.
IARA.update_asset_owner!
— Methodupdate_asset_owner!(db::DatabaseSQLite, label::String; kwargs...)
Update the AssetOwner named 'label' in the database.
Example:
IARA.update_asset_owner!(
db,
"AssetOwner1";
price_type = IARA.AssetOwner_PriceType.PRICE_TAKER
)
IARA.update_battery_unit!
— Methodupdate_battery_unit!(db::DatabaseSQLite, label::String; kwargs...)
Update the Battery Unit named 'label' in the database.
Example:
IARA.update_battery_unit!(
db,
"BatteryUnit1";
initial_storage = 0.0,
)
IARA.update_battery_unit_relation!
— Methodupdate_battery_unit_relation!(db::DatabaseSQLite, battery_unit_label::String; collection::String, relation_type::String, related_label::String)
Update the Battery Unit named 'label' in the database.
IARA.update_bidding_group!
— Methodupdate_bidding_group!(db::DatabaseSQLite, label::String; kwargs...)
Update the BiddingGroup named 'label' in the database.
IARA.update_bidding_group_relation!
— Methodupdate_bidding_group_relation!(db::DatabaseSQLite, bidding_group_label::String; collection::String, relation_type::String, related_label::String)
Update the BiddingGroup named 'label' in the database.
Example:
IARA.update_bidding_group_relation!(
db,
"bg_1";
collection = "AssetOwner",
relation_type = "id",
related_label = "asset_owner_2",
)
IARA.update_bidding_group_vectors!
— Methodupdate_bidding_group_vectors!(db::DatabaseSQLite, label::String; kwargs...)
Update the vectors of the Bidding Group named 'label' in the database.
IARA.update_branch!
— Methodupdate_branch!(db::DatabaseSQLite, label::String; kwargs...)
Update the Branch named 'label' in the database.
IARA.update_branch_relation!
— Methodupdate_branch_relation!(db::DatabaseSQLite, branch_label::String; collection::String, relation_type::String, related_label::String)
Update the Branch named 'label' in the database.
IARA.update_bus!
— Methodupdate_bus!(db::DatabaseSQLite, label::String; kwargs...)
Update the Bus named 'label' in the database.
IARA.update_bus_relation!
— Methodupdate_bus_relation!(
db::DatabaseSQLite,
bus_label::String;
collection::String,
relation_type::String,
related_label::String,
)
Update the relation of the bus named bus_label
with the collection collection
.
IARA.update_configuration!
— Methodupdate_configuration!(db::DatabaseSQLite; kwargs...)
Update the Configuration table in the database.
Example:
IARA.update_configuration!(
db;
number_of_scenarios = 12,
)
IARA.update_dc_line!
— Methodupdate_dc_line!(db::DatabaseSQLite, label::String; kwargs...)
Update the DC Line named 'label' in the database.
IARA.update_dc_line_relation!
— Methodupdate_dc_line_relation!(db::DatabaseSQLite, dc_line_label::String; collection::String, relation_type::String, related_label::String)
Update the DC Line named 'label' in the database.
IARA.update_dc_line_time_series_parameter!
— Methodupdate_dc_line_time_series_parameter!(db::DatabaseSQLite, label::String, attribute::String, value; dimensions...)
Update a DC Line time series parameter in the database.
IARA.update_demand_unit!
— Methodupdate_demand!(db::DatabaseSQLite, label::String; kwargs...)
Update the Demand named 'label' in the database.
IARA.update_demand_unit_relation!
— Methodupdate_demand_unit_relation!(db::DatabaseSQLite, demand_label::String; collection::String, relation_type::String, related_label::String)
Update the Demand named 'label' in the database.
Example:
IARA.update_demand_unit_relation!(
db,
"dem_1";
collection = "Bus",
relation_type = "id",
related_label = "bus_3"
)
IARA.update_gauging_station!
— Methodupdate_gauging_station!(db::DatabaseSQLite, label::String; kwargs...)
Update the GaugingStation named 'label' in the database.
IARA.update_gauging_station_relation!
— Methodupdate_gauging_station_relation!(db::DatabaseSQLite, label::String; collection::String, relation_type::String, related_label::String)
Update the relation of the GaugingStation named 'label' in the database.
IARA.update_hydro_unit!
— Methodupdate_hydro_unit!(db::DatabaseSQLite, label::String; kwargs...)
Update the Hydro Unit named 'label' in the database.
Example:
IARA.update_hydro_unit!(
db,
"hyd_1";
initial_volume = 1000.0
)
IARA.update_hydro_unit_relation!
— Methodupdate_hydro_unit_relation!(
db::DatabaseSQLite,
hydro_unit_label::String;
collection::String,
relation_type::String,
related_label::String
)
Update the Hydro Unit named 'label' in the database.
Arguments:
db::PSRClassesInterface.DatabaseSQLite
: Databasehydro_unit_label::String
: Hydro Unit labelcollection::String
: Collection name that the Hydro Unit is related torelation_type::String
: Relation typerelated_label::String
: Label of the element that the Hydro Unit is related to
Example:
IARA.update_hydro_unit_relation!(db, "hyd_1";
collection = "BiddingGroup",
relation_type = "id",
related_label = "bg_1",
)
IARA.update_hydro_unit_time_series_parameter!
— Methodupdate_hydro_unit_time_series_parameter!(
db::DatabaseSQLite,
label::String,
attribute::String,
value;
dimensions...
)
Update a Hydro Unit time series parameter in the database for a given dimension value
Arguments:
db::PSRClassesInterface.DatabaseSQLite
: Databaselabel::String
: Hydro Unit labelattribute::String
: Attribute namevalue
: Value to be updateddimensions...
: Dimension values
Example:
IARA.update_hydro_unit_time_series_parameter!(
db,
"hyd_1",
"max_volume",
30.0;
date_time = DateTime(0), # dimension value
)
IARA.update_hydro_unit_vectors!
— Methodupdate_hydro_unit_vectors!(db::DatabaseSQLite, label::String; kwargs...)
Update the vectors of the Hydro Unit named 'label' in the database.
IARA.update_interconnection!
— Methodupdate_interconnection!(db::DatabaseSQLite, label::String; kwargs...)
Update the Interconnection named 'label' in the database.
IARA.update_interconnection_relation!
— Methodupdate_interconnection_relation!(db::DatabaseSQLite, interconnection_label::String; collection::String, relation_type::String, related_label::String)
Update the Interconnection named 'label' in the database.
IARA.update_interconnection_time_series_parameter!
— Methodupdate_interconnection_time_series_parameter!(db::DatabaseSQLite, label::String, attribute::String, value; dimensions...)
Update a Interconnection time series parameter in the database.
IARA.update_renewable_unit!
— Methodupdate_renewable_unit!(db::DatabaseSQLite, label::String; kwargs...)
Update the Renewable Unit named 'label' in the database.
IARA.update_renewable_unit_relation!
— Methodupdate_renewable_unit_relation!(db::DatabaseSQLite, renewable_unit_label::String; collection::String, relation_type::String, related_label::String)
Update the Renewable Unit named 'label' in the database.
IARA.update_renewable_unit_time_series!
— Methodupdate_renewable_unit_time_series!(db::DatabaseSQLite, label::String; date_time::DateTime = DateTime(0), kwargs...)
Update time series attributes for the Renewable Unit named 'label' in the database.
Example:
IARA.update_renewable_unit_time_series!(db, "gnd_1"; max_generation = 4.5)
IARA.update_thermal_unit!
— Methodupdate_thermal_unit!(db::DatabaseSQLite, label::String; kwargs...)
Update the Thermal Unit named 'label' in the database.
IARA.update_thermal_unit_relation!
— Methodupdate_thermal_unit_relation!(db::DatabaseSQLite, thermal_unit_label::String; collection::String, relation_type::String, related_label::String)
Update the Thermal Unit named 'label' in the database.
IARA.update_thermal_unit_time_series_parameter!
— Methodupdate_thermal_unit_time_series_parameter!(
db::DatabaseSQLite,
label::String,
attribute::String,
value;
dimensions...
)
Update a Thermal Unit time series parameter in the database for a given dimension value
Arguments:
db::PSRClassesInterface.DatabaseSQLite
: Databaselabel::String
: Thermal Unit labelattribute::String
: Attribute namevalue
: Value to be updateddimensions...
: Dimension values
Example:
IARA.update_thermal_unit_time_series_parameter!(
db,
"therm_1",
"om_cost",
30.0;
date_time = DateTime(0), # dimension value
)
IARA.update_time_series_from_db!
— Methodupdate_time_series_from_db!(battery_unit::BatteryUnit, db::DatabaseSQLite, period_date_time::DateTime)
Update the Battery Unit time series from the database.
IARA.update_time_series_from_db!
— Methodupdate_time_series_from_db!(bidding_group::BiddingGroup, db::DatabaseSQLite, period_date_time::DateTime)
Update the BiddingGroup time series from the database.
IARA.update_time_series_from_db!
— Methodupdate_time_series_from_db!(branch::Branch, db::DatabaseSQLite, period_date_time::DateTime)
Update the Branch collection time series from the database.
IARA.update_time_series_from_db!
— Methodupdate_time_series_from_db!(dc_link::DCLine, db::DatabaseSQLite, period_date_time::DateTime)
Update the DC Line collection time series from the database.
IARA.update_time_series_from_db!
— Methodupdate_time_series_from_db!(demand_unit::DemandUnit, db::DatabaseSQLite, period_date_time::DateTime)
Update the Demand collection time series from the database.
IARA.update_time_series_from_db!
— Methodupdate_time_series_from_db!(hydro_unit::HydroUnit, db::DatabaseSQLite, period_date_time::DateTime)
Update the Hydro Unit time series from the database.
IARA.update_time_series_from_db!
— Methodupdate_time_series_from_db!(inputs::Inputs, period::Int)
Update the time series stored inside db file for the given period.
IARA.update_time_series_from_db!
— Methodupdate_time_series_from_db!(dc_link::Interconnection, db::DatabaseSQLite, period_date_time::DateTime)
Update the Interconnection collection time series from the database.
IARA.update_time_series_from_db!
— Methodupdate_time_series_from_db!(renewable_unit::RenewableUnit, db::DatabaseSQLite, period_date_time::DateTime)
Update the Renewable Unit collection time series from the database.
IARA.update_time_series_from_db!
— Methodupdate_time_series_from_db!(thermal_unit::ThermalUnit, db::DatabaseSQLite, period_date_time::DateTime)
Update the time series of the Thermal Unit collection from the database.
IARA.update_time_series_from_db!
— Methodupdate_time_series_from_db!(virtual_reservoir::VirtualReservoir, db::DatabaseSQLite, period_date_time::DateTime)
Update the VirtualReservoir time series from the database.
IARA.update_time_series_from_db!
— Methodupdate_time_series_from_db!(zone::Zone, db::DatabaseSQLite, period_date_time::DateTime)
Update the Zone collection time series from the database.
IARA.update_virtual_reservoir!
— Methodupdate_virtual_reservoir!(db::DatabaseSQLite, label::String; kwargs...)
Update the VirtualReservoir named 'label' in the database.
Example:
IARA.update_virtual_reservoir!(db, "virtual_reservoir_1"; number_of_waveguide_points_for_file_template = 3)
IARA.update_zone!
— Methodupdate_zone!(db::DatabaseSQLite, label::String; kwargs...)
Update the Zone named 'label' in the database.
IARA.use_binary_variables
— Methoduse_binary_variables(inputs::AbstractInputs, run_time_options)
Return whether binary variables should be used.
IARA.use_fcf_in_clearing
— Methoduse_fcf_in_clearing(inputs::AbstractInputs)
Return whether the FCF should be used in clearing.
IARA.validate
— Methodvalidate(inputs)
validate that the inputs are consistent through all periods.
IARA.validate
— Methodvalidate(asset_owner::AssetOwner)
Validate the asset owner collection.
IARA.validate
— Methodvalidate(battery_unit::BatteryUnit)
Validate the Battery's parameters. Returns the number of errors found.
IARA.validate
— Methodvalidate(bidding_group::BiddingGroup)
Validate the BiddingGroup's parameters. Returns the number of errors found.
IARA.validate
— Methodvalidate(branch::Branch)
Validate the Branch collection.
IARA.validate
— Methodvalidate(bus::Bus)
Validate the bus collection.
IARA.validate
— Methodvalidate(configurations::Configurations)
Validate the Configurations' parameters. Return the number of errors found.
IARA.validate
— Methodvalidate(dc_line::DCLine)
Validate the DC Line collection.
IARA.validate
— Methodvalidate(demand_unit::DemandUnit)
Validate the Demand's parameters. Return the number of errors found.
IARA.validate
— Methodvalidate(gauging_station::GaugingStation)
Validate the gauging station collection.
IARA.validate
— Methodvalidate(hydro_unit::HydroUnit)
Validate the Hydro Units' parameters. Return the number of errors found.
IARA.validate
— Methodvalidate(interconnection::Interconnection)
Validate the Interconnection collection.
IARA.validate
— Methodvalidate(renewable_unit::RenewableUnit)
Validate the Renewable Units' parameters. Return the number of errors found.
IARA.validate
— Methodvalidate(thermal_unit::ThermalUnit)
Validate the Thermal Units' parameters. Return the number of errors found.
IARA.validate
— Methodvalidate(virtual_reservoir::VirtualReservoir)
Validate the VirtualReservoir's parameters. Return the number of errors found.
IARA.validate
— Methodvalidate(zone::Zone)
Validate the zone collection.
IARA.validate
— Methodvalidate(path::String; run_mode::String = "market-clearing")
Validate the case based on the run_mode
passed.
The available run modes are:
- train-min-cost
- min-cost
- price-taker-bid
- strategic-bid
- market-clearing
- single-period-market-clearing
- single-period-heuristic-bid
- interface-call
- single-period-hydro-supply-reference-curve
IARA.virtual_reservoir_asset_owner_indices
— Methodvirtual_reservoir_asset_owner_indices(virtual_reservoir::AbstractCollection, i::Integer)
Get the assetownerindices field from the VirtualReservoir collection at index i.
IARA.virtual_reservoir_asset_owner_indices
— Methodvirtual_reservoir_asset_owner_indices(collections::AbstractCollections, i::Integer)
Get the assetownerindices field from the VirtualReservoir collection at index i.
IARA.virtual_reservoir_asset_owner_indices
— Methodvirtual_reservoir_asset_owner_indices(collections::AbstractCollections)
Get the asset_owner_indices
field from the VirtualReservoir
collection.
IARA.virtual_reservoir_asset_owner_indices
— Methodvirtual_reservoir_asset_owner_indices(virtual_reservoir::AbstractCollection)
Get the asset_owner_indices
field from the VirtualReservoir
collection.
IARA.virtual_reservoir_asset_owner_indices
— Methodvirtual_reservoir_asset_owner_indices(inputs::AbstractInputs, i::Integer)
Get the assetownerindices field from the VirtualReservoir collection at index i.
IARA.virtual_reservoir_asset_owner_indices
— Methodvirtual_reservoir_asset_owner_indices(inputs::AbstractInputs)
Get the asset_owner_indices
field from the VirtualReservoir
collection.
IARA.virtual_reservoir_asset_owners_inflow_allocation
— Methodvirtual_reservoir_asset_owners_inflow_allocation(virtual_reservoir::AbstractCollection, i::Integer)
Get the assetownersinflow_allocation field from the VirtualReservoir collection at index i.
IARA.virtual_reservoir_asset_owners_inflow_allocation
— Methodvirtual_reservoir_asset_owners_inflow_allocation(collections::AbstractCollections, i::Integer)
Get the assetownersinflow_allocation field from the VirtualReservoir collection at index i.
IARA.virtual_reservoir_asset_owners_inflow_allocation
— Methodvirtual_reservoir_asset_owners_inflow_allocation(collections::AbstractCollections)
Get the asset_owners_inflow_allocation
field from the VirtualReservoir
collection.
IARA.virtual_reservoir_asset_owners_inflow_allocation
— Methodvirtual_reservoir_asset_owners_inflow_allocation(virtual_reservoir::AbstractCollection)
Get the asset_owners_inflow_allocation
field from the VirtualReservoir
collection.
IARA.virtual_reservoir_asset_owners_inflow_allocation
— Methodvirtual_reservoir_asset_owners_inflow_allocation(inputs::AbstractInputs, vr::Int, ao::Int)
Return the inflow allocation of the asset owner ao
in the VirtualReservoir vr
.
IARA.virtual_reservoir_asset_owners_inflow_allocation
— Methodvirtual_reservoir_asset_owners_inflow_allocation(inputs::AbstractInputs, i::Integer)
Get the assetownersinflow_allocation field from the VirtualReservoir collection at index i.
IARA.virtual_reservoir_asset_owners_inflow_allocation
— Methodvirtual_reservoir_asset_owners_inflow_allocation(inputs::AbstractInputs)
Get the asset_owners_inflow_allocation
field from the VirtualReservoir
collection.
IARA.virtual_reservoir_asset_owners_initial_energy_account_share
— Methodvirtual_reservoir_asset_owners_initial_energy_account_share(virtual_reservoir::AbstractCollection, i::Integer)
Get the assetownersinitialenergyaccount_share field from the VirtualReservoir collection at index i.
IARA.virtual_reservoir_asset_owners_initial_energy_account_share
— Methodvirtual_reservoir_asset_owners_initial_energy_account_share(collections::AbstractCollections, i::Integer)
Get the assetownersinitialenergyaccount_share field from the VirtualReservoir collection at index i.
IARA.virtual_reservoir_asset_owners_initial_energy_account_share
— Methodvirtual_reservoir_asset_owners_initial_energy_account_share(collections::AbstractCollections)
Get the asset_owners_initial_energy_account_share
field from the VirtualReservoir
collection.
IARA.virtual_reservoir_asset_owners_initial_energy_account_share
— Methodvirtual_reservoir_asset_owners_initial_energy_account_share(virtual_reservoir::AbstractCollection)
Get the asset_owners_initial_energy_account_share
field from the VirtualReservoir
collection.
IARA.virtual_reservoir_asset_owners_initial_energy_account_share
— Methodvirtual_reservoir_asset_owners_initial_energy_account_share(inputs::AbstractInputs, i::Integer)
Get the assetownersinitialenergyaccount_share field from the VirtualReservoir collection at index i.
IARA.virtual_reservoir_asset_owners_initial_energy_account_share
— Methodvirtual_reservoir_asset_owners_initial_energy_account_share(inputs::AbstractInputs)
Get the asset_owners_initial_energy_account_share
field from the VirtualReservoir
collection.
IARA.virtual_reservoir_correspondence_by_generation!
— Methodvirtual_reservoir_correspondence_by_generation!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the virtual reservoir correspondence by generation constraints to the model.
IARA.virtual_reservoir_correspondence_by_volume!
— Methodvirtual_reservoir_correspondence_by_volume!(
model::SubproblemModel,
inputs::Inputs,
run_time_options::RunTimeOptions,
::Type{SubproblemBuild},
)
Add the virtual reservoir correspondence by volume constraints to the model.
IARA.virtual_reservoir_correspondence_type
— Methodvirtual_reservoir_correspondence_type(inputs)
Return the type of physical-virtual correspondence for the virtual reservoirs.
IARA.virtual_reservoir_energy_account!
— Methodvirtual_reservoir_energy_account!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, scenario, subscenario, ::Type{SubproblemUpdate})
Update the virtual reservoir energy account variables in the model.
IARA.virtual_reservoir_energy_account!
— Methodvirtual_reservoir_energy_account!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the virtual reservoir energy account variables to the model.
IARA.virtual_reservoir_generation!
— Methodvirtual_reservoir_generation!(outputs, inputs::Inputs, run_time_options::RunTimeOptions, simulation_results::SimulationResultsFromPeriodScenario, period::Int, scenario::Int, subscenario::Int, ::Type{WriteOutput})
Write the virtual reservoir generation variables' values to the output file.
IARA.virtual_reservoir_generation!
— Methodvirtual_reservoir_generation!(outputs::Outputs, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{InitializeOutput})
Add symbols to serialize and query the virtual reservoir generation variables and initialize the output file for virtual reservoir generation.
IARA.virtual_reservoir_generation!
— Methodvirtual_reservoir_generation!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, scenario, subscenario, ::Type{SubproblemUpdate})
Update the virtual reservoir generation variables in the model.
IARA.virtual_reservoir_generation!
— Methodvirtual_reservoir_generation!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the virtual reservoir generation variables to the model.
IARA.virtual_reservoir_generation_bounds!
— Methodvirtual_reservoir_generation_bounds!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the virtual reservoir generation bounds constraints to the model.
IARA.virtual_reservoir_generation_reference!
— Methodvirtual_reservoir_generation_reference!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Constraint matching virtual reservoir generation to the input reference generation for the reference curve model.
IARA.virtual_reservoir_hydro_unit_indices
— Methodvirtual_reservoir_hydro_unit_indices(virtual_reservoir::AbstractCollection, i::Integer)
Get the hydrounitindices field from the VirtualReservoir collection at index i.
IARA.virtual_reservoir_hydro_unit_indices
— Methodvirtual_reservoir_hydro_unit_indices(collections::AbstractCollections, i::Integer)
Get the hydrounitindices field from the VirtualReservoir collection at index i.
IARA.virtual_reservoir_hydro_unit_indices
— Methodvirtual_reservoir_hydro_unit_indices(collections::AbstractCollections)
Get the hydro_unit_indices
field from the VirtualReservoir
collection.
IARA.virtual_reservoir_hydro_unit_indices
— Methodvirtual_reservoir_hydro_unit_indices(virtual_reservoir::AbstractCollection)
Get the hydro_unit_indices
field from the VirtualReservoir
collection.
IARA.virtual_reservoir_hydro_unit_indices
— Methodvirtual_reservoir_hydro_unit_indices(inputs::AbstractInputs, i::Integer)
Get the hydrounitindices field from the VirtualReservoir collection at index i.
IARA.virtual_reservoir_hydro_unit_indices
— Methodvirtual_reservoir_hydro_unit_indices(inputs::AbstractInputs)
Get the hydro_unit_indices
field from the VirtualReservoir
collection.
IARA.virtual_reservoir_initial_energy_account
— Methodvirtual_reservoir_initial_energy_account(virtual_reservoir::AbstractCollection, i::Integer)
Get the initialenergyaccount field from the VirtualReservoir collection at index i.
IARA.virtual_reservoir_initial_energy_account
— Methodvirtual_reservoir_initial_energy_account(collections::AbstractCollections, i::Integer)
Get the initialenergyaccount field from the VirtualReservoir collection at index i.
IARA.virtual_reservoir_initial_energy_account
— Methodvirtual_reservoir_initial_energy_account(collections::AbstractCollections)
Get the initial_energy_account
field from the VirtualReservoir
collection.
IARA.virtual_reservoir_initial_energy_account
— Methodvirtual_reservoir_initial_energy_account(virtual_reservoir::AbstractCollection)
Get the initial_energy_account
field from the VirtualReservoir
collection.
IARA.virtual_reservoir_initial_energy_account
— Methodvirtual_reservoir_initial_energy_account(inputs::AbstractInputs, i::Integer)
Get the initialenergyaccount field from the VirtualReservoir collection at index i.
IARA.virtual_reservoir_initial_energy_account
— Methodvirtual_reservoir_initial_energy_account(inputs::AbstractInputs)
Get the initial_energy_account
field from the VirtualReservoir
collection.
IARA.virtual_reservoir_label
— Methodvirtual_reservoir_label(virtual_reservoir::AbstractCollection, i::Integer)
Get the label field from the VirtualReservoir collection at index i.
IARA.virtual_reservoir_label
— Methodvirtual_reservoir_label(collections::AbstractCollections, i::Integer)
Get the label field from the VirtualReservoir collection at index i.
IARA.virtual_reservoir_label
— Methodvirtual_reservoir_label(collections::AbstractCollections)
Get the label
field from the VirtualReservoir
collection.
IARA.virtual_reservoir_label
— Methodvirtual_reservoir_label(virtual_reservoir::AbstractCollection)
Get the label
field from the VirtualReservoir
collection.
IARA.virtual_reservoir_label
— Methodvirtual_reservoir_label(inputs::AbstractInputs, i::Integer)
Get the label field from the VirtualReservoir collection at index i.
IARA.virtual_reservoir_label
— Methodvirtual_reservoir_label(inputs::AbstractInputs)
Get the label
field from the VirtualReservoir
collection.
IARA.virtual_reservoir_markup_offers_for_period_scenario
— Methodvirtual_reservoir_markup_offers_for_period_scenario(
inputs::Inputs,
outputs::Outputs,
run_time_options::RunTimeOptions,
period::Int,
scenario::Int
)
Generate heuristic bids for the virtual reservoirs and write them to the output files.
IARA.virtual_reservoir_non_decreasing_reference_quantity!
— Methodvirtual_reservoir_non_decreasing_reference_quantity!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Constraint ensuring the reference quantity for each virtual reservoir does not decrease at each iteration.
IARA.virtual_reservoir_number_of_waveguide_points_for_file_template
— Methodvirtual_reservoir_number_of_waveguide_points_for_file_template(virtual_reservoir::AbstractCollection, i::Integer)
Get the numberofwaveguidepointsforfiletemplate field from the VirtualReservoir collection at index i.
IARA.virtual_reservoir_number_of_waveguide_points_for_file_template
— Methodvirtual_reservoir_number_of_waveguide_points_for_file_template(collections::AbstractCollections, i::Integer)
Get the numberofwaveguidepointsforfiletemplate field from the VirtualReservoir collection at index i.
IARA.virtual_reservoir_number_of_waveguide_points_for_file_template
— Methodvirtual_reservoir_number_of_waveguide_points_for_file_template(collections::AbstractCollections)
Get the number_of_waveguide_points_for_file_template
field from the VirtualReservoir
collection.
IARA.virtual_reservoir_number_of_waveguide_points_for_file_template
— Methodvirtual_reservoir_number_of_waveguide_points_for_file_template(virtual_reservoir::AbstractCollection)
Get the number_of_waveguide_points_for_file_template
field from the VirtualReservoir
collection.
IARA.virtual_reservoir_number_of_waveguide_points_for_file_template
— Methodvirtual_reservoir_number_of_waveguide_points_for_file_template(inputs::AbstractInputs, i::Integer)
Get the numberofwaveguidepointsforfiletemplate field from the VirtualReservoir collection at index i.
IARA.virtual_reservoir_number_of_waveguide_points_for_file_template
— Methodvirtual_reservoir_number_of_waveguide_points_for_file_template(inputs::AbstractInputs)
Get the number_of_waveguide_points_for_file_template
field from the VirtualReservoir
collection.
IARA.virtual_reservoir_previous_reference_quantity!
— Methodvirtual_reservoir_previous_reference_quantity!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Virtual reservoir total generation variable and parameter initialization for the reference curve model.
IARA.virtual_reservoir_price_offer_file
— Methodvirtual_reservoir_price_offer_file(virtual_reservoir::AbstractCollection, i::Integer)
Get the priceofferfile field from the VirtualReservoir collection at index i.
IARA.virtual_reservoir_price_offer_file
— Methodvirtual_reservoir_price_offer_file(collections::AbstractCollections, i::Integer)
Get the priceofferfile field from the VirtualReservoir collection at index i.
IARA.virtual_reservoir_price_offer_file
— Methodvirtual_reservoir_price_offer_file(collections::AbstractCollections)
Get the price_offer_file
field from the VirtualReservoir
collection.
IARA.virtual_reservoir_price_offer_file
— Methodvirtual_reservoir_price_offer_file(virtual_reservoir::AbstractCollection)
Get the price_offer_file
field from the VirtualReservoir
collection.
IARA.virtual_reservoir_price_offer_file
— Methodvirtual_reservoir_price_offer_file(inputs::AbstractInputs, i::Integer)
Get the priceofferfile field from the VirtualReservoir collection at index i.
IARA.virtual_reservoir_price_offer_file
— Methodvirtual_reservoir_price_offer_file(inputs::AbstractInputs)
Get the price_offer_file
field from the VirtualReservoir
collection.
IARA.virtual_reservoir_quantity_offer_file
— Methodvirtual_reservoir_quantity_offer_file(virtual_reservoir::AbstractCollection, i::Integer)
Get the quantityofferfile field from the VirtualReservoir collection at index i.
IARA.virtual_reservoir_quantity_offer_file
— Methodvirtual_reservoir_quantity_offer_file(collections::AbstractCollections, i::Integer)
Get the quantityofferfile field from the VirtualReservoir collection at index i.
IARA.virtual_reservoir_quantity_offer_file
— Methodvirtual_reservoir_quantity_offer_file(collections::AbstractCollections)
Get the quantity_offer_file
field from the VirtualReservoir
collection.
IARA.virtual_reservoir_quantity_offer_file
— Methodvirtual_reservoir_quantity_offer_file(virtual_reservoir::AbstractCollection)
Get the quantity_offer_file
field from the VirtualReservoir
collection.
IARA.virtual_reservoir_quantity_offer_file
— Methodvirtual_reservoir_quantity_offer_file(inputs::AbstractInputs, i::Integer)
Get the quantityofferfile field from the VirtualReservoir collection at index i.
IARA.virtual_reservoir_quantity_offer_file
— Methodvirtual_reservoir_quantity_offer_file(inputs::AbstractInputs)
Get the quantity_offer_file
field from the VirtualReservoir
collection.
IARA.virtual_reservoir_total_generation!
— Methodvirtual_reservoir_total_generation!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Virtual reservoir total generation variable and parameter initialization for the reference curve model.
IARA.virtual_reservoir_total_generation_correspondence!
— Methodvirtual_reservoir_total_generation_correspondence!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the virtual reservoir correspondence by generation constraints to the model.
IARA.virtual_reservoir_volume_distance_to_waveguide!
— Methodvirtual_reservoir_volume_distance_to_waveguide!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the virtual reservoir volume distance to waveguide constraints to the model.
IARA.virtual_reservoir_water_to_energy_factors
— Methodvirtual_reservoir_water_to_energy_factors(virtual_reservoir::AbstractCollection, i::Integer)
Get the watertoenergy_factors field from the VirtualReservoir collection at index i.
IARA.virtual_reservoir_water_to_energy_factors
— Methodvirtual_reservoir_water_to_energy_factors(collections::AbstractCollections, i::Integer)
Get the watertoenergy_factors field from the VirtualReservoir collection at index i.
IARA.virtual_reservoir_water_to_energy_factors
— Methodvirtual_reservoir_water_to_energy_factors(collections::AbstractCollections)
Get the water_to_energy_factors
field from the VirtualReservoir
collection.
IARA.virtual_reservoir_water_to_energy_factors
— Methodvirtual_reservoir_water_to_energy_factors(virtual_reservoir::AbstractCollection)
Get the water_to_energy_factors
field from the VirtualReservoir
collection.
IARA.virtual_reservoir_water_to_energy_factors
— Methodvirtual_reservoir_water_to_energy_factors(inputs::AbstractInputs, i::Integer)
Get the watertoenergy_factors field from the VirtualReservoir collection at index i.
IARA.virtual_reservoir_water_to_energy_factors
— Methodvirtual_reservoir_water_to_energy_factors(inputs::AbstractInputs)
Get the water_to_energy_factors
field from the VirtualReservoir
collection.
IARA.virtual_reservoir_waveguide_points
— Methodvirtual_reservoir_waveguide_points(virtual_reservoir::AbstractCollection, i::Integer)
Get the waveguide_points field from the VirtualReservoir collection at index i.
IARA.virtual_reservoir_waveguide_points
— Methodvirtual_reservoir_waveguide_points(collections::AbstractCollections, i::Integer)
Get the waveguide_points field from the VirtualReservoir collection at index i.
IARA.virtual_reservoir_waveguide_points
— Methodvirtual_reservoir_waveguide_points(collections::AbstractCollections)
Get the waveguide_points
field from the VirtualReservoir
collection.
IARA.virtual_reservoir_waveguide_points
— Methodvirtual_reservoir_waveguide_points(virtual_reservoir::AbstractCollection)
Get the waveguide_points
field from the VirtualReservoir
collection.
IARA.virtual_reservoir_waveguide_points
— Methodvirtual_reservoir_waveguide_points(inputs::AbstractInputs, i::Integer)
Get the waveguide_points field from the VirtualReservoir collection at index i.
IARA.virtual_reservoir_waveguide_points
— Methodvirtual_reservoir_waveguide_points(inputs::AbstractInputs)
Get the waveguide_points
field from the VirtualReservoir
collection.
IARA.vr_curveguide_data_format
— Methodvr_curveguide_data_format(inputs)
Return the source of the user-provided waveguide points.
IARA.vr_curveguide_data_source
— Methodvr_curveguide_data_source(inputs)
Return the source of the waveguide points for virtual reservoirs.
IARA.waveguide_convex_combination_sum!
— Methodwaveguide_convex_combination_sum!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the waveguide convex combination sum constraints to the model.
IARA.waveguide_distance_bounds!
— Methodwaveguide_distance_bounds!(model::SubproblemModel, inputs::Inputs, run_time_options::RunTimeOptions, ::Type{SubproblemBuild})
Add the waveguide distance bounds constraints to the model.
IARA.write_parp_outputs
— Methodwrite_parp_outputs(
inputs::Inputs,
inflow::Array{Float64, 3},
noise::Array{Float64, 3},
parp_coefficients::Array{Float64, 3},
inflow_period_average::Array{Float64, 2},
inflow_period_std_dev::Array{Float64, 2},
)
Write PAR(p) outputs to files.
IARA.write_timeseries_file
— Methodwrite_timeseries_file(
file_path::String,
data::Array{T, N};
dimensions::Vector{String},
labels::Vector{String},
time_dimension::String,
dimension_size::Vector{Int},
initial_date::Union{String, DateTime} = "",
unit::String = "",
) where {T, N}
Write a time series file in Quiver format.
Required arguments:
file_path::String
: Path to the CSV file.data::Array{T, N}
: Data to be written.dimensions::Vector{String}
: Dimensions of the data.labels::Vector{String}
: Labels of the data.time_dimension::String
: Name of the time dimension.dimension_size::Vector{Int}
: Size of each dimension.initial_date::Union{String, DateTime}
: Initial date of the time series. If a string is provided, it should be in the format "yyyy-mm-ddTHH:MM:SS".unit::String
: Unit of the time series data.
IARA.zone_label
— Methodzone_label(zone::AbstractCollection, i::Integer)
Get the label field from the Zone collection at index i.
IARA.zone_label
— Methodzone_label(collections::AbstractCollections, i::Integer)
Get the label field from the Zone collection at index i.
IARA.zone_label
— Methodzone_label(collections::AbstractCollections)
Get the label
field from the Zone
collection.
IARA.zone_label
— Methodzone_label(zone::AbstractCollection)
Get the label
field from the Zone
collection.
IARA.zone_label
— Methodzone_label(inputs::AbstractInputs, i::Integer)
Get the label field from the Zone collection at index i.
IARA.zone_label
— Methodzone_label(inputs::AbstractInputs)
Get the label
field from the Zone
collection.