Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Templates and tests for horizontal piping modeling (#627)
* Add customized mo files * Add kIns and use each * Introduce a new template for ground coupling * Supplemental table for calculating soil temperature * Placeholder python file for ground coupling * Pass more pipe material parameters * Add example sys_pamas file for tests * Modified ground coupling template * Ground coupling instance * Update package names * Modify dis to take more inputs * Update py file, not final yet * Update ground_coupling.py * add method to read a feature from a geojson file by id * method to read a geojson feature from a jsonpath * code to read from geojson to templtate * add test line to attempt injecting from geojson into template * test for ground_coupling * empty ground_coupling coupling templates - WIP * update dependencies * Add equations for calculating wall thickness * Add function for searching for weather station * finalize py file * get pipe lengths in datDes * build new coupling * move dis instance to new coupling * Access data of sys_params * Move things in coupling * Fix typo * Change pipe length list to be global * Modify test to instantiate ground coupling * Reading geojson in district.py, might cause problem to other district tests * New geojson with thermal connectors for testing * Modify parameter paths * Update geojson file name in test * Rearrange couplings * Update coupling list in test * Fix within statements * Update some parameters * Update access to borefield id * Update access to num_buildings in template * Add TODO * Change pump input type * Change how lDis and lEnd are populated * Replace sqaure brackets * Convert ft to meter * Pre-commit changes * skip a lint check in district.py. A different PR refactors this, so ignore for now * format modelica code via pre-commit * Avoid using excel reader * Add horizontal pipe properties (#632) * Add horizontal pipe properties * add horizontal piping to 5th gen --------- Co-authored-by: Nathan Moore <nathan.moore@nrel.gov> * Add horizontal piping parameters to template * Remove test no longer needed * Update test to include ground coupling * Not passing lDis or lEnd for non-5G districts * Pre-commit changes * Fix typo * fix commas and `}` in sys-param schema --------- Co-authored-by: Nathan Moore <nathan.moore@nrel.gov> Co-authored-by: tanushree04 <47833030+tanushree04@users.noreply.github.com>
- Loading branch information