Skip to content
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

Input type fix for export_rate_beyond_net_metering_limit #371

Merged
merged 8 commits into from
Apr 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,15 @@ Classify the change according to the following categories:
### Deprecated
### Removed

## Develop 2024-03-26
## Develop - 2024-04-05
### Fixed
- Added `export_rate_beyond_net_metering_limit` to list of inputs to be converted to type Real, to avoid MethodError if type is vector of Any.

## v0.44.0
### Added
- in `src/settings.jl`, added new const **INDICATOR_COMPATIBLE_SOLVERS**
- in `src/settings.jl`, added new member **solver_name** within the settings object. This is currently not connected to the solver but does determine whether indicator constraints are modeled or if their big-M workarounds are used.
- added replacements for indicator constraints with the exception of battery degradation, which is implemented in a separate model, and FlexibleHVAC. TODO's have been added for these remaining cases.

### Fixed
- Fixed previously broken tests using HiGHS in `test/runtests.jl` due to solver incompatibility.

Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "REopt"
uuid = "d36ad4e8-d74a-4f7a-ace1-eaea049febf6"
authors = ["Nick Laws", "Hallie Dunham <[email protected]>", "Bill Becker <[email protected]>", "Bhavesh Rathod <[email protected]>", "Alex Zolan <[email protected]>", "Amanda Farthing <[email protected]>"]
version = "0.43.0"
version = "0.44.0"

[deps]
ArchGDAL = "c9ce4bd3-c3d5-55b8-8973-c0e20141b8c3"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# REopt® Julia package
This package is currently under development, but it now has all of the capabilities of the REopt® model used in the [REopt API](https://github.com/NREL/REopt_API). We expect to have the first stable release by Fall 2023.
This package is currently under development, but it now has all of the capabilities of the REopt® model used in the [REopt API](https://github.com/NREL/REopt_API).

For more information please see the documentation:
<!-- [![](https://img.shields.io/badge/docs-stable-blue.svg)](https://nrel.github.io/REopt.jl/stable) -->
Expand Down
2 changes: 1 addition & 1 deletion src/core/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ function dictkeys_tosymbols(d::Dict)
end
end
if k in [
"fuel_cost_per_mmbtu", "wholesale_rate",
"fuel_cost_per_mmbtu", "wholesale_rate", "export_rate_beyond_net_metering_limit",
# for ERP
"generator_size_kw", "generator_operational_availability",
"generator_failure_to_start", "generator_mean_time_to_failure",
Expand Down
Loading