Skip to content

Commit

Permalink
Merge pull request #542 from NREL/develop
Browse files Browse the repository at this point in the history
Hot Fix: add year for electric-only CHP unavailability profile
  • Loading branch information
Bill-Becker authored Nov 7, 2023
2 parents 27b2c74 + a43916f commit 34d0b76
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ The REopt Julia package will soon become the backend of the REopt API. That mean
- You do not want to modify the code or host the API on your own server.
- You do not want to install or use your own optimization solver (simply POSTing to the REopt API does not require a solver, whereas using the Julia package does).
- You want to be able to access or share results saved in a database using a runuuid.
- You want to be able to view your API results in the REopt web tool using a runuuid. (we can do this?)
- **How do I use the REopt API?:** you can access our production version of the API via the [NREL Developer Network](https://developer.nrel.gov/docs/energy-optimization/reopt/). You can view examples of using the API in the [REopt-API-Analysis Repo](https://github.com/NREL/REopt-API-Analysis/wiki).
- **How do I use the REopt API?:** you can access our production version of the API via the [NREL Developer Network](https://developer.nrel.gov/docs/energy-optimization/reopt/). You can view examples of using the API in the [REopt-Analysis-Scripts Repo](https://github.com/NREL/REopt-Analysis-Scripts/wiki).

**4. When and how to _modify_ the REopt_API:**
- You have made changes to the REopt Julia package that include modified inputs or outputs, and want to reflect those in the REopt API.
Expand Down
4 changes: 2 additions & 2 deletions julia_src/Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -729,9 +729,9 @@ uuid = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb"

[[deps.REopt]]
deps = ["ArchGDAL", "CSV", "CoolProp", "DataFrames", "Dates", "DelimitedFiles", "HTTP", "JLD", "JSON", "JuMP", "LinDistFlow", "LinearAlgebra", "Logging", "MathOptInterface", "Requires", "Roots", "Statistics", "TestEnv"]
git-tree-sha1 = "60798d610ebe263fb12bd83437309c39443c39bf"
git-tree-sha1 = "6f3db36b83c7a3f8aa8d3ab187b91a5a6ac159cb"
uuid = "d36ad4e8-d74a-4f7a-ace1-eaea049febf6"
version = "0.37.3"
version = "0.37.4"

[[deps.Random]]
deps = ["SHA", "Serialization"]
Expand Down
2 changes: 1 addition & 1 deletion reoptjl/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def obj_create(self, bundle, **kwargs):
meta = {
"run_uuid": run_uuid,
"api_version": 3,
"reopt_version": "0.37.3",
"reopt_version": "0.37.4",
"status": "Validating..."
}
bundle.data.update({"APIMeta": meta})
Expand Down
2 changes: 1 addition & 1 deletion reoptjl/test/test_job_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def test_multiple_outages(self):
self.assertAlmostEqual(sum(sum(np.array(results["Outages"]["unserved_load_per_outage_kwh"]))), 0.0, places=0)
# TODO figure out why microgrid_upgrade_capital_cost is about $3000 different locally than on GitHub Actions
self.assertAlmostEqual(results["Outages"]["microgrid_upgrade_capital_cost"], 1974429.4, delta=5000.0)
self.assertAlmostEqual(results["Financial"]["lcc"], 59907198.3, places=-4)
self.assertAlmostEqual(results["Financial"]["lcc"], 59865240.0, delta=5000.0)

def test_pv_battery_and_emissions_defaults_from_julia(self):
"""
Expand Down

0 comments on commit 34d0b76

Please sign in to comment.