Open tsmbland opened 1 month ago
Thanks for this. I think zero capacity should only be allowed (for the base year) when demand is also zero for the base year. The idea is that modellers calibrate the base year - i.e. they tell the model what the existing capacity is for any process that gas capacity in the base year. If they enter a capacity value that is not sufficient to meet demand in the peak time slice, then the model should throw a helpful error telling them that they need to calibrate the base year.
From: Tom Bland @.> Sent: 23 July 2024 10:57 To: EnergySystemsModellingLab/MUSE_OS @.> Cc: Subscribed @.***> Subject: [EnergySystemsModellingLab/MUSE_OS] Model fails when existing capacity for all technologies in a sector is set to zero [BUG] (Issue #427)
This email from @.*** originates from outside Imperial. Do not click on links and attachments unless you recognise the sender. If you trust the sender, add them to your safe senders listhttps://spam.ic.ac.uk/SpamConsole/Senders.aspx to disable email stamping for this address.
Describe the bug
Probably a niche scenario, but has come up for one of Sumin's models
Traceback (most recent call last):
File "
To Reproduce
Set all values in the ExistingCapacity.csv for a sector to zero
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Context
Please, complete the following to better understand the system you are using to run MUSE.
— Reply to this email directly, view it on GitHubhttps://github.com/EnergySystemsModellingLab/MUSE_OS/issues/427, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AC37JLPMVXM4SZSI4LKGDT3ZNYSHHAVCNFSM6AAAAABLKCHS4CVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQZDINZXGQ2DGNQ. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Ok makes sense. I've noticed that most of the models I've been working with don't meet demand in the base year (e.g. see #316), and don't give any kind of warning. So I guess we'll need to go through all the example/tutorial models to make sure they're sufficiently calibrated.
Also just linking #286, as this issue has come up (and been fixed) before, but it looks like it's back
Note: this also happens when an agent has no initial capacity assigned to it
Describe the bug
Probably a niche scenario, but has come up for one of Sumin's models
To Reproduce
Set all values in the
ExistingCapacity.csv
for a sector to zero (current and future years)Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Context
Please, complete the following to better understand the system you are using to run MUSE.
python --version
): 3.12