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

feat(doe2): Refactor the package to fix several bugs and support new features #106

Merged
merged 27 commits into from
May 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
77c9970
feat(refactor): Remove old modules and add skeleton for new code
chriswmackey Apr 19, 2024
ce6867f
feat(writer): Add writer functions for all of the objects
chriswmackey Apr 23, 2024
01ce01c
feat(schedule): Add functions for translating schedules
chriswmackey Apr 24, 2024
cc07ecc
feat(construction): Add translators for constructions and materials
chriswmackey Apr 24, 2024
d039fc0
feat(simulation): Add classes to handle simulation parameters
chriswmackey Apr 25, 2024
0e2b092
fix(writer): Add method to group rooms by DOE-2 level
chriswmackey Apr 26, 2024
b69615f
feat(writer): Add methods to group and assign HVAC Zones
chriswmackey Apr 26, 2024
d75ffe7
fix(writer): Add more tests and fix bugs
chriswmackey Apr 27, 2024
f5a6a3e
fix(writer): Fix more bugs
chriswmackey Apr 27, 2024
aa59856
fix(package): Fix a list few bugs identified though eQuest importing
chriswmackey Apr 27, 2024
bc98abe
fix(load): Make several improvements to the way loads are translated
chriswmackey Apr 30, 2024
50b3af7
fix(schedules): Fix several bugs in previous version
chriswmackey Apr 30, 2024
ae7e187
feat(shade): Write shades without POLYGON when they are RECTANGLE
chriswmackey May 1, 2024
c8ada26
fix(writer): Ensure that ShadeMesh also uses Rectangle
chriswmackey May 1, 2024
fed1964
feat(room): Add support for writing extruded Rooms without polygons
chriswmackey May 2, 2024
99e65d4
fix(writer): Fix issues in previous commit
chriswmackey May 2, 2024
1bd630d
fix(schedule): Add workaround for ScheduleFixedInterval to avoid errors
chriswmackey May 2, 2024
e2af2ee
feat(properties): Add RoomDoe2Properties for the few extra attributes
chriswmackey May 2, 2024
4101ae0
fix(writer): Improve the check for when we forego POLYGON
chriswmackey May 3, 2024
a3f15e3
feat(room): Finish adding RoomDoe2Properties to assign HVAC parameters
chriswmackey May 3, 2024
2ba92e5
feat(programtype): Support for translating programs to switch statements
chriswmackey May 7, 2024
0d4013e
fix(programtype): Fix several issues uncovered through eQuest testing
chriswmackey May 7, 2024
6dd31b4
fix(load): Handle the case that both gas equipment and SHW are specified
chriswmackey May 7, 2024
63059d0
fix(util): Use better way to process program IDs in switch statements
chriswmackey May 7, 2024
fbe0efa
fix(load): Further improvements to loads
chriswmackey May 7, 2024
38ceecd
feat(program): Add support for assigning mech airflow via program type
chriswmackey May 7, 2024
c202fab
fix(extend): Extend ProgramType with to_inp() method
chriswmackey May 7, 2024
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
3 changes: 2 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: Unit tests
strategy:
matrix:
python-version: ['3.7', '3.10']
python-version: ['3.10']
os: [macos-latest, ubuntu-latest, windows-latest]

runs-on: ${{ matrix.os }}
Expand All @@ -23,6 +23,7 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install -r standards-requirements.txt
pip install -r dev-requirements.txt
- name: run tests
run: python -m pytest tests/
Expand Down
Loading
Loading