-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ANT-992] Add ramping for thermal clusters #1817
base: develop
Are you sure you want to change the base?
Changes from 1 commit
a64625a
b9c4f2b
624f2ce
915e0c7
f2d469e
e78c034
b9801fe
09a2ca9
5ce4531
77daa36
8133150
134ad57
54ef194
d8ca6aa
d1f983c
70ba583
7387013
ab1b701
8b6ce0b
3b17545
50f7a48
554455d
3625bd2
44f722d
e41d0b8
34f2531
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -340,15 +340,30 @@ class ThermalCluster final : public Cluster, public std::enable_shared_from_this | |||||
double marketBidCost = 0; | ||||||
//! Variable O&M cost (euros/MWh) | ||||||
double variableomcost = 0; | ||||||
//! Cost of power increase (euros/MW) | ||||||
double powerIncreaseCost = 0; | ||||||
//! Cost of power decrease (euros/MW) | ||||||
double powerDecreaseCost = 0; | ||||||
|
||||||
//! Maximum hourly upward power ramping rate (MW/hour) | ||||||
double maxUpwardPowerRampingRate = 0; | ||||||
//! Maximum hourly downward power ramping rate (MW/hour) | ||||||
double maxDownwardPowerRampingRate = 0; | ||||||
|
||||||
struct Ramping | ||||||
{ | ||||||
//! Cost of power increase (euros/MW) | ||||||
double powerIncreaseCost; | ||||||
//! Cost of power decrease (euros/MW) | ||||||
double powerDecreaseCost; | ||||||
//! Maximum hourly upward power ramping rate (MW/hour) | ||||||
double maxUpwardPowerRampingRate; | ||||||
//! Maximum hourly downward power ramping rate (MW/hour) | ||||||
double maxDownwardPowerRampingRate; | ||||||
|
||||||
Ramping() : | ||||||
powerIncreaseCost(0.), | ||||||
powerDecreaseCost(0.), | ||||||
maxUpwardPowerRampingRate(0.), | ||||||
maxDownwardPowerRampingRate(0.) | ||||||
{ | ||||||
} | ||||||
|
||||||
void reset(); | ||||||
bool checkValidity(Area* area, Data::ClusterName clusterName); | ||||||
}; | ||||||
Ramping ramping; | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
By default, the ramping constraints are not enabled for a given cluster. They are enabled only if an object exists within this Possible justification : there is no good default value for This induces a small difficulty in the variable/constraint counting process, in the sense that we must only take into account cluster for which ramping is enabled. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Commit 8133150 implements now is feature |
||||||
|
||||||
//@} | ||||||
|
||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This constructor is called by default, there is no need to call it explicitly here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed in commit 77daa36