Empty Prosumer
Create Function
- pandaprosumer.create_empty_prosumer_container(name='', add_basic_lib=True, fluid='water', check_order=True)[source]
This function initializes the prosumer datastructure
- OPTIONAL:
name (string, default None) - name for the prosumer
add_basic_lib (bool, default True) -
fluid (string or pandapipes.Fluid instance, default ‘water’) - The fluid used in the prosumer
Period
- pandaprosumer.create_period(prosumer, resolution_s, start=None, end=None, timezone=None, name=None, index=None)[source]
Creates a new period in prosumer[“period”]
- INPUT:
prosumer (pandaprosumerContainer) - The prosumer within this period should be created
resolution_s (float) - The resolution of the period [s]
- OPTIONAL:
- start (string, default None) - The start time of the period. May be None
for element-only setup (no time-series binding); time-series runs will then fail when the period is consumed.
end (string, default None) - The end time of the period. Same caveat as start.
timezone (string, default None) - The timezone of the period. If None, will default to ‘utc’. Example: ‘Europe/Paris’
name (string, default None) - The name of the period
index (string, default None) - The index of the period in the prosumer