Skip to content

Storage losses#171

Open
nehadimri1991 wants to merge 5 commits intomainfrom
storage_losses
Open

Storage losses#171
nehadimri1991 wants to merge 5 commits intomainfrom
storage_losses

Conversation

@nehadimri1991
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Contributor

@ahobeost ahobeost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nehadimri1991: Could you please explain the two things here?

if "districtHeatingInBus" + '__Building' + str(b + 1) in self._busDict:
busesOut.append(self._busDict["districtHeatingInBus" + '__Building' + str(b + 1)])
busesIn.append(self._busDict["districtHeatingBus" + '__Building' + str(b + 1)])
if "districtHeatInBus" + '__Building' + str(b + 1) in self._busDict:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you explain where the warning is coming from?
This restriction should be lifted in the future

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

venv\Lib\site-packages\openpyxl\workbook\child.py:99: UserWarning: Title is more than 31 characters. Some applications may not be able to read the file
warnings.warn("Title is more than 31 characters. Some applications may not be able to read the file")

Comment thread optihood/storages.py
# TODO: refactor into functions
if 'GenericStorage' in label_prefix:
typical_losses = {'tank': 0.10, 'pit': 0.20, 'borehole': 0.15, 'aquifier': 0.001}
typical_losses = {'tank': 0.00011, 'pit': 0.00011, 'borehole': 0.00011, 'aquifier': 0.00011}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The scenario_pit.xls includes a capacity loss value, which does not seem to connect to anything in this _precalculate function.
The scenario files in the other repository use this capacity loss value and set it to zero.

Is this capacity loss value connected to anything?

Why do you change the typical losses here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants