File size: 1,096 Bytes
43c68a3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# UnitCommitment.jl: Optimization Package for Security-Constrained Unit Commitment
# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved.
# Released under the modified BSD license. See COPYING.md for more details.

import ..SolutionMethod
import ..PricingMethod
import ..Formulation

"""
    struct MarketSettings
        inner_method::SolutionMethod = XavQiuWanThi2019.Method()
        lmp_method::Union{PricingMethod, Nothing} = ConventionalLMP()
        formulation::Formulation = Formulation()
    end

Market setting struct, typically used to map a day-ahead market to real-time markets.

Arguments
---------

- `inner_method`: 
    method to solve each marketing problem.
- `lmp_method`:
    a PricingMethod method to calculate the locational marginal prices.
    If it is set to `nothing`, the LMPs will not be calculated.
- `formulation`:
    problem formulation.
"""
Base.@kwdef struct MarketSettings
    inner_method::SolutionMethod = XavQiuWanThi2019.Method()
    lmp_method::Union{PricingMethod,Nothing} = ConventionalLMP()
    formulation::Formulation = Formulation()
end