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

Gh pages custom #611

Merged
merged 6 commits into from
Jan 31, 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
2 changes: 1 addition & 1 deletion docs/design/source/testcasedev.rst
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ The second function is to export a wrapper FMU that utilizes the signal exchange

4. Add one output for every Read block found named :code:`<block_instance_path>_y`. Assign :code:`<block_instance_path>_y` the unit, descriptions, min/max, and other signal attribute data specified by the Read block.

5. For Overwrite blocks, connect :code:`<block_instance_path>_u` to :code:`<block.instance.path>.u`, :code:`<block_instance_path>_activate` to :code:`<block.instance.path>.activate`, and :code:`<block_instance_path>_y` to :code:`<block.instance.path>.y`.
5. For Overwrite blocks, connect :code:`<block_instance_path>_u` to :code:`<block.instance.path>.uExt.y`, :code:`<block_instance_path>_activate` to :code:`<block.instance.path>.activate.y`, and :code:`<block_instance_path>_y` to :code:`<block.instance.path>.y`.

6. For Read blocks, connect :code:`<block_insance_path>_y` to :code:`<block.instance.path>.y`.

Expand Down
1 change: 1 addition & 0 deletions releasenotes.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Released on xx/xx/xxxx.
- Specify the Python version (3.7) used for building the wrapper to execute the example JavaScript controllers in the unit test. This is for [#594](https://github.com/ibpsa/project1-boptest/issues/594).
- Allow simulations and forecast to work across the end of the year to the next year. This is for [#239](https://github.com/ibpsa/project1-boptest/issues/239).
- Pin base Docker image to ``linux/x86_64`` platform. This is for [#608](https://github.com/ibpsa/project1-boptest/issues/608).
- Correct typo in design documentation about connecting inputs to overwrite blocks in wrapper model. This is for [#601](https://github.com/ibpsa/project1-boptest/issues/601).

## BOPTEST v0.5.0

Expand Down
10 changes: 5 additions & 5 deletions testing/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -749,35 +749,35 @@ def test_invalid_forecast_parameters(self):
'horizon': 'foo',
'interval': 300}
payload = requests.put('{0}/forecast'.format(self.url),
data=forecast_parameters_ref)
json=forecast_parameters_ref)
self.compare_error_code(payload, "Invalid non-numeric horizon in forecast request did not return 400 message.")
# Try setting non-numeric interval
forecast_parameters_ref = {'point_names':forecast_points,
'horizon': 3600,
'interval': 'foo'}
payload = requests.put('{0}/forecast'.format(self.url),
data=forecast_parameters_ref)
json=forecast_parameters_ref)
self.compare_error_code(payload, "Invalid non-numeric interval in forecast request did not return 400 message.")
# Try setting negative horizon
forecast_parameters_ref = {'point_names':forecast_points,
'horizon': -3600,
'interval': 300}
payload = requests.put('{0}/forecast'.format(self.url),
data=forecast_parameters_ref)
json=forecast_parameters_ref)
self.compare_error_code(payload, "Invalid negative horizon in forecast request did not return 400 message.")
# Try setting negative interval
forecast_parameters_ref = {'point_names':forecast_points,
'horizon': 3600,
'interval': -300}
payload = requests.put('{0}/forecast'.format(self.url),
data=forecast_parameters_ref)
json=forecast_parameters_ref)
self.compare_error_code(payload, "Invalid negative interval in forecast request did not return 400 message.")
# Try setting invalid point name
forecast_parameters_ref = {'point_names':['foo'],
'horizon': 3600,
'interval': 300}
payload = requests.put('{0}/forecast'.format(self.url),
data=forecast_parameters_ref)
json=forecast_parameters_ref)
self.compare_error_code(payload, "Invalid point_names in forecast request did not return 400 message.")

def test_invalid_scenario(self):
Expand Down
24 changes: 23 additions & 1 deletion web/ibpsa_project_meetings_task3.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,26 @@ permalink: /ibpsa/project/meetings/task3/

# Upcoming Meetings

Coming soon...
### May 2, 2024

**Location:** Online

**Time:** 6:00-7:00 pacific

[**Link to join the meeting**](https://calendar.google.com/calendar/event?action=TEMPLATE&tmeid=N3IxOG82cWFwaDY2NmswMGluOG9vN2xyZDYgZXphbmV0dGlAbGJsLmdvdg&tmsrc=ezanetti%40lbl.gov)

### March 28, 2024

**Location:** Online

**Time:** 6:00-7:00 pacific

[**Link to join the meeting**](https://calendar.google.com/calendar/event?action=TEMPLATE&tmeid=MDA0MjJnMHVpNGVlcTMxNG40OWxpaXQxZnIgZXphbmV0dGlAbGJsLmdvdg&tmsrc=ezanetti%40lbl.gov)

### February 22, 2024

**Location:** Online

**Time:** 6:00-7:00 pacific

[**Link to join the meeting**](https://calendar.google.com/calendar/event?action=TEMPLATE&tmeid=NXUwZDZqcTd2YnZic2xqcW84cDNkajRyNmwgZXphbmV0dGlAbGJsLmdvdg&tmsrc=ezanetti%40lbl.gov)