You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/links/capacitycostlink.md
+21-5Lines changed: 21 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,10 +44,22 @@ The following additional fields are included for [`CapacityCostLink`](@ref) link
44
44
The price per unit of maximum capacity usage over the sub-periods.
45
45
This value is averaged over sub-periods as defined by `cap_price_periods`.
46
46
All values have to be non-negative.
47
-
-**`cap_price_periods::Int64`** :\
48
-
The number of sub-periods within a year for which the capacity cost is calculated.
47
+
!!! danger "Price values"
48
+
49
+
The value given in `cap_price` is interpreted on the strategic-period scale (*e.g.*, if a strategic-period duration of `1` corresponds to 1 year, then the natural unit is €/GW/year).
50
+
Capacity costs are calculated per sub-period and then summed over the strategic period.
51
+
This means a constant value (*e.g.,* €/GW/year) is effectively applied once for each sub-period (based on the peak within that sub-period), and is not automatically scaled by sub-period duration.
52
+
53
+
Example: With `cap_price = 100 €/GW/year`, `cap_price_periods = 12`, and a peak usage of 1 GW in each month, the model computes a total cost of 12 × 100 = 1200 €/year.
54
+
55
+
To achieve seasonal/monthly peak charges, define multiple `cap_price_periods` and provide `cap_price` values that represent the intended charge per sub-period (or scale the values accordingly).
56
+
57
+
It is planned to change this behavior in the future.
58
+
The change corresponds to a breaking change as we change the behavior of the model.
The number of sub-periods within a year for which the capacity cost is calculated (if specifying an `Int64`) or the duration of the individual sub periods (if specifying a `Vector{<:Number}`).
49
61
This allows modeling of varying peak demands across seasons.
50
-
The value must be positive.
62
+
The value must be positive if your are using an `Int64` (and hence specifiy the number of periods) or all values of be positive and summing up to the specified scaling factor between operational and strategic period durations (the parameter `op_per_strat`) if you are using a `Vector{<:Number}`.
51
63
52
64
!!! tip "Number of sub-periods"
53
65
For investment periods with many operational periods, consider increasing the number of `cap_price_periods`.
@@ -126,15 +138,19 @@ The capacity cost is calculated as:
In addition, the energy flow of the constrained resource should not exceed the maximum pipe capacity, which is included through the following constraint:
153
+
In addition, the energy flow of the constrained resource should not exceed the maximum capacity, which is included through the following constraint:
0 commit comments