Demand Charge Issue

  • Aigonzc97
  • Topic Author
More
13 Jun 2024 14:53 #13254 by Aigonzc97
Demand Charge Issue was created by Aigonzc97
Hi!Could you help me with the following error:

File Attachment:

File Name: PV + BESS.sam
File Size:129 KB

File Attachment:

File Name: PV + BESS.sam
File Size:129 KB
​​​​​​​
exec fail(lib_utility_rate_equations): Demand rate Period 0 not found for Month 0. Simulation battery failed: exec fail(lib_utility_rate_equations): Demand rate Period 0 not found for Month 0.
I am trying to make the model prioritize battery discharge when energy is more expensive. I have already uploaded the price profile, and it works fine, but when I add the demand charges, this error appears. Do you know what it could be?
Attachments:

Please Log in or Create an account to join the conversation.

  • pgilman
More
13 Jun 2024 23:11 #13256 by pgilman
Replied by pgilman on topic Demand Charge Issue
Hi Alvaro,

This appears to be a bug with the Retail Rate battery dispatch option that we fixed for the next update to SAM 2023.12.17, which we plan to release in early July 2024. My colleagues are investigating, and I will follow up when I hear from them.

The way the demand charge rates are set up in the file you attached, there are no demand charges, so I think you can work around the bug by disabling the demand charges.

 

Best regards,
Paul.
Attachments:

Please Log in or Create an account to join the conversation.

  • pgilman
More
14 Jun 2024 21:01 #13263 by pgilman
Replied by pgilman on topic Demand Charge Issue
Hi Alvaro,

This is a known issue that we have fixed for SAM 2023.12.17 r2, which we hope to release in early July 2024.

github.com/NREL/ssc/pull/1152

Best regards,
Paul.

Please Log in or Create an account to join the conversation.

Moderators: pgilman
Powered by Kunena Forum