Ab sofort ist der Login auf der Weboberfläche von git.fh-muenster.de bevorzugt über FH Muenster SSO möglich.

Commit f08ce488 authored by Christian Klemm's avatar Christian Klemm

unit designation conformed to DIN + BUG fixes

parent cb2a54e9
......@@ -10,40 +10,40 @@ sheet | columns
-------------------------------------------------------------------------------
timesystem | start_date, end_date, holidays, temporal resolution, timezone
buses | label, active, excess, shortage, shortage costs [CU/kWh],
excess costs [CU/kWh]
buses | label, active, excess, shortage, shortage costs /(CU/kWh),
excess costs /(CU/kWh)
sinks | label, active, input, input2, load profile, nominal value [kW],
annual demand [kWh/a], occupants [RICHARDSON],
sinks | label, active, input, input2, load profile, nominal value /(kW),
annual demand /(kWh/a), occupants [RICHARDSON],
building class [HEAT SLP ONLY], wind class [HEAT SLP ONLY],
fixed
sources | label, active, output, technology, variable costs [CU/kWh],
existing capacity [kW], min. investment capacity [kW],
max. investment capacity [kW], periodical costs [CU/(kW a)],
sources | label, active, output, technology, variable costs /(CU/kWh),
existing capacity /(kW), min. investment capacity /(kW),
max. investment capacity /(kW), periodical costs /(CU/(kW a)),
technology database (PV ONLY), inverter database (PV ONLY),
Modul Model (PV ONLY), Inverter Model (PV ONLY),
reference value [kW], Azimuth (PV ONLY), Surface Tilt (PV ONLY),
reference value /(kW), Azimuth (PV ONLY), Surface Tilt (PV ONLY),
Albedo (PV ONLY), Altitude (PV ONLY), Latitude (PV ONLY),
Longitude (PV ONLY)
transformers | label, active, transformer type, input, output, output2,
efficiency, efficency2, variable input costs [CU/kWh],
variable output costs [CU/kWh], existing capacity [kW],
max. investment capacity [kW], min. investment capacity [kW],
periodical costs [CU/(kW a)]
efficiency, efficency2, variable input costs /(CU/kWh),
variable output costs /(CU/kWh), existing capacity /(kW),
max. investment capacity /(kW), min. investment capacity /(kW),
periodical costs /(CU/(kW a))
storages | label, active, bus, existing capacity [kW],
min. investment capacity [kW], max. investment capacity [kW],
periodical costs [CU/(kW a)], capacity inflow, capacity outflow,
storages | label, active, bus, existing capacity /(kW),
min. investment capacity /(kW), max. investment capacity /(kW),
periodical costs /(CU/(kW a)), capacity inflow, capacity outflow,
capacity loss, efficiency inflow, efficiency outflow,
initial capacity, capacity min, capacity max,
variable input costs, variable output costs
powerlines | label, active, bus_1, bus_2, (un)directed, efficiency,
existing capacity [kW], min. investment capacity [kW],
max. investment capacity [kW], variable costs [CU/kWh],
periodical costs [CU/(kW a)]
existing capacity /(kW), min. investment capacity /(kW),
max. investment capacity /(kW), variable costs /(CU/kWh),
periodical costs /(CU/(kW a))
time_series | timestamp, timeseries for components with fixed input or output
......
......@@ -346,7 +346,7 @@ Installation
.. note::
If you receive a "Your computer has been protected by Windows" error message, click "More Information," and then click "Run Anyway".
If you receive a "Your computer has been protected by Windows" error message, click "More Information," and then "Run Anyway".
7. The Spreadsheet Energy System Model Generator has been installed
......@@ -361,7 +361,7 @@ Application of the Model Generator
.. note::
If you receive a "Your computer has been protected by Windows" error message, click "More Information," and then click "Run Anyway".
If you receive a "Your computer has been protected by Windows" error message, click "More Information," and then "Run Anyway".
3. Wait until the modelling is completed. The results are then automatically opened in your Internet browser.
......@@ -419,8 +419,8 @@ Within this sheet, the buses of the energy system are defined. The following par
- **active**: Specifies whether the bus shall be included to the model. 0 = inactive, 1 = active.
- **excess**: Specifies whether a sink is to be generated, which consumes excess energy. 0 = no excess sink will be generated; 1 = excess sink will be generated.
- **shortage**: Specifies whether to generate a shortage source that can compensate energy deficits or not. 0 = no shortage source will be generated; 1 = shortage source will be generated.
- **shortage costs [CU/kWh]**: Assigns a price per kWh to the purchase of energy from the shortage source. If the shortage source was deactivated, the fill character "x" is used.
- **excess costs [CU/kWh]**: Assigns a price per kWh to the release of energy to the excess sink. If the excess sink was deactivated, the fill character "x" is used.
- **shortage costs/(CU/kWh)**: Assigns a price per kWh to the purchase of energy from the shortage source. If the shortage source was deactivated, the fill character "x" is used.
- **excess costs/(CU/kWh)**: Assigns a price per kWh to the release of energy to the excess sink. If the excess sink was deactivated, the fill character "x" is used.
.. figure:: images/BSP_buses.PNG
:width: 100 %
......@@ -449,8 +449,8 @@ Within this sheet, the sinks of the energy system are defined. The following par
- **active**: Specifies whether the sink shall be included to the model. 0 = inactive, 1 = active.
- **input**: Space for an individual comment, e.g. an indication of which measure this component belongs to.
- **load profile**: Specifies the basis onto which the load profile of the sink is to be created. If the Richardson tool is to be used, "richardson" has to be inserted. For standard load profiles, its acronym is used. If a time series is used, "timeseries" must be entered. If the source is not fixed, the fill character "x" has to be used.
- **nominal value [kW]**: Nominal performance of the sink. Required when "time series" has been entered into the "load profile". When SLP or Richardson is used, use the fill character "x" here.
- **annual demand [kWh/a]**: Annual energy demand of the sink. Required when using the Richardson Tool or standard load profiles. When using time series, the fill character "x" is used.
- **nominal value/(kW)**: Nominal performance of the sink. Required when "time series" has been entered into the "load profile". When SLP or Richardson is used, use the fill character "x" here.
- **annual demand/(kWh/a)**: Annual energy demand of the sink. Required when using the Richardson Tool or standard load profiles. When using time series, the fill character "x" is used.
- **occupants [RICHARDSON]**: Number of occupants living in the respective building. Only required when using the Richardson tool, use fill character "x" for other load profiles.
- **building class [HEAT SLP ONLY]**: BDEW-building class.
- **wind class [HEAT SLP ONLY]**: wind classification for building location (0=not windy, 1=windy)
......@@ -483,11 +483,11 @@ defined if the parameter "technology" is set on "photovoltaic". The following pa
- **active**: Specifies whether the source shall be included to the model. 0 = inactive, 1 = active.
- **output**: Specifies which bus the source is connected to.
- **technology**: Technology type of source. Input options: "photovoltaic", "wind", "other". Time series are automatically generated for photovoltaic systems and wind turbines. If "other" is selected, a time series must be provided in the "time_series" sheet.
- **variable costs [CU/kWh]**: Defines the variable costs incurred for a kWh of energy drawn from the source.
- **existing capacity [kW]**: Existing capacity of the source before possible investments.
- **min. investment capacity [kW]**: Minimum capacity to be installed in case of an investment.
- **max. investment capacity [kW]**: Maximum capacity that can be added in the case of an investment. If no investment is possible, enter the value "0" here.
- **periodical costs [CU/(kW a)]**: Costs incurred per kW for investments within the time horizon
- **variable costs/(CU/kWh)**: Defines the variable costs incurred for a kWh of energy drawn from the source.
- **existing capacity/(kW)**: Existing capacity of the source before possible investments.
- **min. investment capacity/(kW)**: Minimum capacity to be installed in case of an investment.
- **max. investment capacity/(kW)**: Maximum capacity that can be added in the case of an investment. If no investment is possible, enter the value "0" here.
- **periodical costs/(CU/(kW a))**: Costs incurred per kW for investments within the time horizon
- **technology database (PV ONLY)**: Database, from where module parameters are to be obtained. Recommended Database: "SandiaMod".
- **inverter database (PV ONLY)**: Database, from where inverter parameters are to be obtained. Recommended Database: "sandiainverter".
- **Modul Model (PV ONLY)**: Module name, according to the database used.
......@@ -532,10 +532,10 @@ Within this sheet, the transformers of the energy system are defined. The follow
- **efficiency**: Specifies the efficiency of the first output. Values between 0 and 1 are allowed entries.
- **efficiency2**: Specifies the efficiency of the second output, if there is one. Values between 0 and 1 are entered. If there is no second output, the fill character "x" must be entered here.
- **variable input costs**: Variable costs incurred per kWh of input energy supplied.
- **existing capacity [kW]**: Already installed capacity of the transformer.
- **max investment capacity [kW]**: Maximum installable transformer capacity in addition to the previously existing one.
- **min investment capacity [kW]**: Minimum transformer capacity to be installed.
- **periodical costs [CU/a]**: Costs incurred per kW for investments within the time horizon.
- **existing capacity/(kW)**: Already installed capacity of the transformer.
- **max investment capacity/(kW)**: Maximum installable transformer capacity in addition to the previously existing one.
- **min investment capacity/(kW)**: Minimum transformer capacity to be installed.
- **periodical costs /(CU/a)**: Costs incurred per kW for investments within the time horizon.
.. figure:: images/BSP_transformers.png
......@@ -573,10 +573,10 @@ Within this sheet, the sinks of the energy system are defined. The following par
- **capacity max**: Specifies the maximum amount of memory that can be loaded at any given time. Value must be between 0 and 1.
- **variable input costs**: Indicates how many costs arise for charging with one kWh.
- **variable output costs**: Indicates how many costs arise for charging with one kWh.
- **existing capacity [kW]**: Previously installed capacity of the storage.
- **periodical costs [CU/a]**: Costs incurred per kW for investments within the time horizon.
- **max. investment capacity [kW]**: Maximum in addition to existing capacity, installable storage capacity.
- **min. investment capacity [kW]**: Minimum storage capacity to be installed.
- **existing capacity/(kW)**: Previously installed capacity of the storage.
- **periodical costs /(CU/a)**: Costs incurred per kW for investments within the time horizon.
- **max. investment capacity/(kW)**: Maximum in addition to existing capacity, installable storage capacity.
- **min. investment capacity/(kW)**: Minimum storage capacity to be installed.
.. figure:: images/BSP_storage.png
:width: 100 %
......@@ -607,11 +607,11 @@ to be entered:
- **bus_2**: Second bus to which the link is connected. If it is a directed link, this is the output bus.
- **(un)directed**: Specifies whether it is a directed or an undirected link. Input options: "directed", "undirected".
- **efficiency**: Specifies the efficiency of the link. Values between 0 and 1 are allowed entries.
- **existing capacity [kW]**: Already installed capacity of the link.
- **min. investment capacity [kW]**: Minimum, in addition to existing capacity, installable capacity.
- **max. investment capacity [kW]**: Maximum capacity to be installed.
- **variable costs [CU/kWh]**: Specifies the efficiency of the first output. Values between 0 and 1 are allowed entries.
- **periodical costs [CU/(kW a)]**: Costs incurred per kW for investments within the time horizon.
- **existing capacity/(kW)**: Already installed capacity of the link.
- **min. investment capacity/(kW)**: Minimum, in addition to existing capacity, installable capacity.
- **max. investment capacity/(kW)**: Maximum capacity to be installed.
- **variable costs/(CU/kWh)**: Specifies the efficiency of the first output. Values between 0 and 1 are allowed entries.
- **periodical costs/(CU/(kW a))**: Costs incurred per kW for investments within the time horizon.
.. figure:: images/BSP_link.png
......@@ -688,9 +688,7 @@ Interactive_Results.py file.
Screenshots of the interactive results browser interface
The interactive results report includes a table that summarizes the modeling results (1), a second
table that provides information about each component (2), and an interactive graph that displays time
series of the different components (4).
The results interface has the following elements:
- **Table with a summary of the modelling (1).**
......
......@@ -28,7 +28,7 @@ def buses(nodes_data, nodes):
nodes_data : obj:'dict'
-- dictionary containing parameters of the buses to be created. The
following parameters have to be provided: label, active, excess,
shortage, shortage costs [CU/kWh], excess costs [CU/kWh]
shortage, shortage costs /(CU/kWh), excess costs /(CU/kWh)
nodes : obj:'list'
-- list of components created before (can be empty)
......@@ -59,7 +59,7 @@ def buses(nodes_data, nodes):
nodes.append(
solph.Sink(label=b['label'] + '_excess',
inputs={busd[b['label']]: solph.Flow(
variable_costs=b['excess costs [CU/kWh]'],
variable_costs=b['excess costs /(CU/kWh)'],
#nominal_value=1
)}))
......@@ -68,7 +68,7 @@ def buses(nodes_data, nodes):
nodes.append(
solph.Source(label=b['label'] + '_shortage',
outputs={busd[b['label']]: solph.Flow(
variable_costs=b['shortage costs [CU/kWh]'])}))
variable_costs=b['shortage costs /(CU/kWh)'])}))
return busd
......@@ -90,9 +90,9 @@ def sources(nodes_data, nodes, bus, filepath):
nodes_data : obj:'dict'
-- dictionary containing parameters of sources to be created. The
following data have to be provided: label, active, output,
technology, variable costs [CU/kWh], existing capacity [kW],
min. investment capacity [kW], max. investment capacity [kW],
periodical costs [CU/(kW a)], technology database (PV ONLY),
technology, variable costs /(CU/kWh), existing capacity /(kW),
min. investment capacity /(kW), max. investment capacity /(kW),
periodical costs /(CU/(kW a)), technology database (PV ONLY),
inverter database (PV ONLY), Modul Model (PV ONLY),
Inverter Model (PV ONLY), Azimuth (PV ONLY),
Surface Tilt (PV ONLY), Albedo (PV ONLY), Altitude (PV ONLY),
......@@ -142,11 +142,11 @@ def sources(nodes_data, nodes, bus, filepath):
solph.Source(label=so['label'],
outputs={busd[so['output']]: solph.Flow(
investment=solph.Investment(
ep_costs=so['periodical costs [CU/(kW a)]'],
minimum=so['min. investment capacity [kW]'],
maximum=so['max. investment capacity [kW]'],
existing=so['existing capacity [kW]']),
variable_costs=so['variable costs [CU/kWh]'])}))
ep_costs=so['periodical costs /(CU/(kW a))'],
minimum=so['min. investment capacity /(kW)'],
maximum=so['max. investment capacity /(kW)'],
existing=so['existing capacity /(kW)']),
variable_costs=so['variable costs /(CU/kWh)'])}))
logging.info(' '+'Commodity Source created: ' + so['label'])
......@@ -204,13 +204,13 @@ def sources(nodes_data, nodes, bus, filepath):
solph.Source(label=so['label'],
outputs={busd[so['output']]: solph.Flow(
investment=solph.Investment(
ep_costs=so['periodical costs [CU/(kW a)]'],
minimum=so['min. investment capacity [kW]'],
maximum=so['max. investment capacity [kW]'],
existing=so['existing capacity [kW]']),
ep_costs=so['periodical costs /(CU/(kW a))'],
minimum=so['min. investment capacity /(kW)'],
maximum=so['max. investment capacity /(kW)'],
existing=so['existing capacity /(kW)']),
actual_value = feedin,
fixed=True,
variable_costs=so['variable costs [CU/kWh]'])}))
variable_costs=so['variable costs /(CU/kWh)'])}))
logging.info(' '+'Source created: ' + so['label'])
......@@ -261,7 +261,7 @@ def sinks(nodes_data, bus, nodes, filepath):
nodes_data : obj:'dict'
-- dictionary containing parameters of sinks to be created. The
following data have to be provided: label, active, input, input2,
load profile, nominal value [kW], annual demand [kWh/a],
load profile, nominal value /(kW), annual demand /(kWh/a),
occupants [RICHARDSON], building class [HEAT SLP ONLY],
wind class [HEAT SLP ONLY], fixed
......@@ -295,7 +295,7 @@ def sinks(nodes_data, bus, nodes, filepath):
def unfixed_sink():
"""Creates a sink object with an unfixed energy input."""
# set static inflow values
inflow_args = {'nominal_value': de['nominal value [kW]'],
inflow_args = {'nominal_value': de['nominal value /(kW)'],
'fixed': de['fixed']}
# create
......@@ -316,7 +316,7 @@ def sinks(nodes_data, bus, nodes, filepath):
"""
# set static inflow values
inflow_args = {'nominal_value': de['nominal value [kW]'],
inflow_args = {'nominal_value': de['nominal value /(kW)'],
'fixed': de['fixed']}
# get time series for node and parameter
......@@ -378,7 +378,7 @@ def sinks(nodes_data, bus, nodes, filepath):
solph.Sink(label=de['label'],
inputs={
busd[de['input']]: solph.Flow(
nominal_value = de['annual demand [kWh/a]'],
nominal_value = de['annual demand /(kWh/a)'],
actual_value = demand[de['load profile']],
fixed = True)}))
logging.info(' '+'Sink created: ' + de['label'])
......@@ -428,7 +428,7 @@ def sinks(nodes_data, bus, nodes, filepath):
solph.Sink(label=de['label'],
inputs={
busd[de['input']]: solph.Flow(
nominal_value = de['annual demand [kWh/a]'],
nominal_value = de['annual demand /(kWh/a)'],
actual_value = demand[de['load profile']],
fixed = True)}))
logging.info(' '+'Sink created: ' + de['label'])
......@@ -507,7 +507,7 @@ def sinks(nodes_data, bus, nodes, filepath):
load_profile = el_load_obj.loadcurve#[0:len(datetime_index)]
richardson_demand = (sum(el_load_obj.loadcurve)
* timestep / (3600 * 1000))
annual_demand = de['annual demand [kWh/a]']
annual_demand = de['annual demand /(kWh/a)']
demand_ratio = annual_demand/richardson_demand
#create
......@@ -537,7 +537,7 @@ def sinks(nodes_data, bus, nodes, filepath):
nodes.append(
solph.Sink(label=de['label'],
inputs={busd[de['input']]: solph.Flow(
nominal_value = de['annual demand [kWh/a]'],
nominal_value = de['annual demand /(kWh/a)'],
actual_value = elec_demand[de['load profile']],
fixed = True)}))
logging.info(' '+'Sink created: ' + de['label'])
......@@ -614,9 +614,9 @@ def transformers(nodes_data, nodes, bus):
-- dictionary containing data from excel scenario file. The
following data have to be provided: label, active, transformer type,
input, output, output2, efficiency, efficency2,
variable input costs [CU/kWh], variable output costs [CU/kWh],
existing capacity [kW], max. investment capacity [kW],
min. investment capacity [kW], periodical costs [CU/(kW a)]
variable input costs /(CU/kWh), variable output costs /(CU/kWh),
existing capacity /(kW), max. investment capacity /(kW),
min. investment capacity /(kW), periodical costs /(CU/(kW a))
bus : obj:'dict'
-- dictionary containing the busses of the energy system
......@@ -653,44 +653,44 @@ def transformers(nodes_data, nodes, bus):
solph.Transformer(
label=t['label'],
inputs={busd[t['input']]: solph.Flow(
variable_costs=t['variable input costs [CU/kWh]'])},
variable_costs=t['variable input costs /(CU/kWh)'])},
outputs={busd[t['output']]: solph.Flow(
variable_costs=t['variable output costs [CU/kWh]'],
variable_costs=t['variable output costs /(CU/kWh)'],
investment=solph.Investment(
ep_costs=t['periodical costs [CU/(kW a)]'],
minimum=t['min. investment capacity [kW]'],
maximum=t['max. investment capacity [kW]'],
existing=t['existing capacity [kW]']
ep_costs=t['periodical costs /(CU/(kW a))'],
minimum=t['min. investment capacity /(kW)'],
maximum=t['max. investment capacity /(kW)'],
existing=t['existing capacity /(kW)']
))},
conversion_factors={busd[t['output']]:
t['efficiency']}))
logging.info(' '+'Transformer created: ' + t['label'])
else:
existing_capacity2 = ((t['existing capacity [kW]']/
existing_capacity2 = ((t['existing capacity /(kW)']/
t['efficiency'])*t['efficiency'])
minimum_capacity2 = ((t['min. investment capacity [kW]']/
minimum_capacity2 = ((t['min. investment capacity /(kW)']/
t['efficiency'])*t['efficiency'])
maximum_capacity2 = ((t['max. investment capacity [kW]']/
maximum_capacity2 = ((t['max. investment capacity /(kW)']/
t['efficiency'])*t['efficiency'])
nodes.append(
solph.Transformer(
label=t['label'],
inputs={busd[t['input']]: solph.Flow(
variable_costs=t['variable input costs [CU/kWh]'])},
variable_costs=t['variable input costs /(CU/kWh)'])},
outputs={busd[t['output']]: solph.Flow(
variable_costs=t['variable output costs [CU/kWh]'],
variable_costs=t['variable output costs /(CU/kWh)'],
investment=solph.Investment(
ep_costs=t['periodical costs [CU/(kW a)]'],
minimum=t['min. investment capacity [kW]'],
maximum=t['max. investment capacity [kW]'],
existing=t['existing capacity [kW]']
ep_costs=t['periodical costs /(CU/(kW a))'],
minimum=t['min. investment capacity /(kW)'],
maximum=t['max. investment capacity /(kW)'],
existing=t['existing capacity /(kW)']
)),
busd[t['output2']]: solph.Flow(
variable_costs=t['variable output costs 2 [CU/kWh]'],
variable_costs=t['variable output costs 2 /(CU/kWh)'],
investment=solph.Investment(
ep_costs=t['periodical costs [CU/(kW a)]'],
ep_costs=t['periodical costs /(CU/(kW a))'],
existing=existing_capacity2,
minimum=minimum_capacity2,
maximum=maximum_capacity2)
......@@ -790,8 +790,8 @@ def storages(nodes_data, nodes, bus):
nodes_data : obj:'dict'
-- dictionary containing data from excel scenario file. The
following data have to be provided: label, active, bus,
existing capacity [kW], min. investment capacity [kW],
max. investment capacity [kW], periodical costs [CU/(kW a)],
existing capacity /(kW), min. investment capacity /(kW),
max. investment capacity /(kW), periodical costs /(CU/(kW a)),
capacity inflow, capacity outflow, capacity loss, efficiency inflow,
efficiency outflow, initial capacity, capacity min, capacity max,
variable input costs, variable output costs
......@@ -830,12 +830,12 @@ def storages(nodes_data, nodes, bus):
#min_storage_level=s['capacity min'],
inflow_conversion_factor=s['efficiency inflow'],
outflow_conversion_factor=s['efficiency outflow'],
#nominal_storage_capacity=s['existing capacity [kW]'],
#nominal_storage_capacity=s['existing capacity /(kW)'],
investment = solph.Investment(
ep_costs=s['periodical costs [CU/(kW a)]'],
existing=s['existing capacity [kW]'],
minimum=s['min. investment capacity [kW]'],
maximum=s['max. investment capacity [kW]']
ep_costs=s['periodical costs /(CU/(kWh a))'],
existing=s['existing capacity /(kWh)'],
minimum=s['min. investment capacity /(kWh)'],
maximum=s['max. investment capacity /(kWh)']
)))
logging.info(' '+'Storage created: ' + s['label'])
......@@ -861,9 +861,9 @@ def links(nodes_data, nodes, bus):
nodes_data : obj:'dict'
-- dictionary containing data from excel scenario file. The
following data have to be provided: label, active, bus_1, bus_2,
(un)directed, efficiency, existing capacity [kW],
min. investment capacity [kW], max. investment capacity [kW],
variable costs [CU/kWh], periodical costs [CU/(kW a)]
(un)directed, efficiency, existing capacity /(kW),
min. investment capacity /(kW), max. investment capacity /(kW),
variable costs /(CU/kWh), periodical costs /(CU/(kW a))
bus : obj:'dict'
-- dictionary containing the busses of the energy system
......@@ -896,13 +896,13 @@ def links(nodes_data, nodes, bus):
solph.Transformer(
label=p['label'],
inputs={busd[p['bus_1']]: solph.Flow(
variable_costs=p['variable costs [CU/kWh]'])},
variable_costs=p['variable costs /(CU/kWh)'])},
outputs={busd[p['bus_2']]: solph.Flow(
investment=solph.Investment(
ep_costs=p['periodical costs [CU/(kW a)]'],
minimum=p['min. investment capacity [kW]'],
maximum=p['max. investment capacity [kW]'],
existing=p['existing capacity [kW]']
ep_costs=p['periodical costs /(CU/(kW a))'],
minimum=p['min. investment capacity /(kW)'],
maximum=p['max. investment capacity /(kW)'],
existing=p['existing capacity /(kW)']
))},
conversion_factors={busd[p['bus_2']]: p['efficiency']}))
......@@ -912,13 +912,13 @@ def links(nodes_data, nodes, bus):
solph.Transformer(
label=label2,
inputs={busd[p['bus_2']]: solph.Flow(
variable_costs=p['variable costs [CU/kWh]'])},
variable_costs=p['variable costs /(CU/kWh)'])},
outputs={busd[p['bus_1']]: solph.Flow(
investment=solph.Investment(
ep_costs=p['periodical costs [CU/(kW a)]'],
minimum=p['min. investment capacity [kW]'],
maximum=p['max. investment capacity [kW]'],
existing=p['existing capacity [kW]']
ep_costs=p['periodical costs /(CU/(kW a))'],
minimum=p['min. investment capacity /(kW)'],
maximum=p['max. investment capacity /(kW)'],
existing=p['existing capacity /(kW)']
))},
conversion_factors={busd[p['bus_2']]: p['efficiency']}))
logging.info(' '+'Link created: ' + p['label'])
......@@ -941,13 +941,13 @@ def links(nodes_data, nodes, bus):
solph.Transformer(
label=p['label'],
inputs={busd[p['bus_1']]: solph.Flow(
variable_costs=p['variable costs [CU/kWh]'])},
variable_costs=p['variable costs /(CU/kWh)'])},
outputs={busd[p['bus_2']]: solph.Flow(
investment=solph.Investment(
ep_costs=p['periodical costs [CU/(kW a)]'],
minimum=p['min. investment capacity [kW]'],
maximum=p['max. investment capacity [kW]'],
existing=p['existing capacity [kW]']
ep_costs=p['periodical costs /(CU/(kW a))'],
minimum=p['min. investment capacity /(kW)'],
maximum=p['max. investment capacity /(kW)'],
existing=p['existing capacity /(kW)']
))},
conversion_factors={busd[p['bus_2']]: p['efficiency']}))
logging.info(' '+'Link created: ' + p['label'])
......
This diff is collapsed.
ID,type,input 1 [kWh],input 2 [kWh],output 1 [kWh],output 2 [kWh],capacity [kW],variable costs [CU],periodical costs [CU],investment [kW]
electricity_demand_001,sink,314.25,---,---,---,0.84,---,---,---
heat_demand_003,sink,6042.55,---,---,---,16.15,---,---,---
electricity_demand_002,sink,6042.55,---,---,---,16.15,---,---,---
electricity_bus_001_excess,sink,0.0,---,---,---,0.0,0.0,---,---
heat_bus_001_excess,sink,0.0,---,---,---,0.0,0.0,---,---
pv001_electricity_source,source,---,---,159.02,---,3.34,0.0,0,0.0
electricity_bus_001_shortage,source,---,---,0.0,---,0.0,0.0,0,---
electricity_bus_002_shortage,source,---,---,125.62,---,0.67,37.69,0,---
heat_bus_001_shortage,source,---,---,0.0,---,0.0,0,0,---
electricity_heat_transformer_001,transformer,0.0,---,0.0,---,0.0,0.0,0,0
electricity_heat_transformer_002,transformer,755.32,---,755.32,6042.55,2.02,0.0,0,0
electricity_storage_001,storage,87.82,---,591.79,---,2.87,0.0,0,0
electiricty_link,link,0.0,157.02,0.0,125.62,0.67,0.0,0,0
project,start_date,end_date,temporal_resolution
R2Q Vorunersuchung,01.01.2012 00:00:00,01.01.2012 23:00:00,h
This diff is collapsed.
This diff is collapsed.
Start Date,End Date,Resolution,Total System Costs,Total Variable Costs,Total Periodical Costs,Total Energy Demand,Total Energy Usage
2012-01-01 00:00:00,2012-01-30 23:00:00,h,37.69,37.69,0,6356.8,284.64
No preview for this file type
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment