idaholab / HERON

Holistic Energy Resource Optimization Network (HERON) is a modeling toolset and plugin for RAVEN to accelerate stochastic technoeconomic assessment of the economic viability of various grid-energy system configurations, especially with application to electrical grids and integrated energy systems (IES).
Apache License 2.0
24 stars 38 forks source link

[DEFECT] Static Histories do not work with Bayesian Opt #381

Closed GabrielSoto-INL closed 3 months ago

GabrielSoto-INL commented 3 months ago

Defect Description

Describe the defect Running a HERON XML script that uses <CSV> or Static Histories valued param rather than <ARMA> or Synthetic Histories fails when paired with the Bayesian Optimization algorithm in opt mode.

What did you expect to see happen?

This should run in opt mode. I tried it with Gradient Descent and it worked.

What did you see instead?

I got a RuntimeError when running outer.xml: image

Do you have a suggested fix for the development team?

There's likely something in template_driver.py that should be fixed.

Describe how to Reproduce Steps to reproduce the behavior:

Screenshots and Input Files

I've highlighted the modifications I made to the tests/integration_tests/mechanics/static_history/heron_input.xml file to reproduce the error.

image

Platform (please complete the following information):


For Change Control Board: Issue Review

This review should occur before any development is performed as a response to this issue.


For Change Control Board: Issue Closure

This review should occur when the issue is imminently going to be closed.