rl-institut / multi-vector-simulator

Multi-vector Simulation Tool assessing and optimizing Local Energy Systems (LES) for the E-LAND project
GNU General Public License v2.0
21 stars 10 forks source link

Transformer objects describing in/out of a bus should be connected #24

Open smartie2076 opened 4 years ago

smartie2076 commented 4 years ago

Ie. the data input should be more effective in json, compared to the current

"storage_charge_controller_in": {
        "age_installed": {"value": 0.0, "unit": "year"},
        "installedCap": {"value": 0.0, "unit": "kW"},
        "capex_fix": {"value": 0.0, "unit": "currency"},
        "capex_var": {"value": 0.0, "unit": "currency/kW"},
        "efficiency": {"value": 1, "unit": "factor"},
        "label": "Charge Contoller ESS Li-Ion (charge)",
        "lifetime": {"value": 10, "unit": "year"},
        "opex_fix": {"value": 0.0, "unit": "currency/kW/year"},
        "opex_var": {"value": 0.0, "unit": "currency/kWh"},
        "outflow_direction": "ESS Li-Ion",
        "optimizeCap": true,
        "inflow_direction": "Electricity (LES)",
        "type_oemof": "transformer"
        },
    "storage_charge_controller_out": {
        "age_installed": {"value": 0.0, "unit": "year"},
        "installedCap": {"value": 0.0, "unit": "kW"},
        "capex_fix": {"value": 0.0, "unit": "currency"},
        "capex_var": {"value": 0.0, "unit": "currency/kW"},
        "efficiency": {"value": 1, "unit": "factor"},
        "label": "Charge Contoller ESS Li-Ion (discharge)",
        "lifetime": {"value": 10, "unit": "year"},
        "opex_fix": {"value": 0.0, "unit": "currency/kW/year"},
        "opex_var": {"value": 0.0, "unit": "currency/kWh"},
        "inflow_direction": "ESS Li-Ion",
        "optimizeCap": true,
        "outflow_direction": "Electricity (LES)",
        "type_oemof": "transformer"
        }

This could be done with an additional parameter "twins", which then copies the a general entry "storage_charge_controller" into "storage_charge_controller_out"/"storage_charge_controller_in".

The optimized capacities should be linked with a constraint, at least on request.

smartie2076 commented 4 years ago

Constraint discussed in #133

SabineHaas commented 4 years ago

@smartie2076 I moved this issue to "Late Issues" as now it's working (give higher prio to bugs and necessary enhancements)

smartie2076 commented 4 years ago

Hi @SabineHaas ! We can go for that for now, true. As soon as we have to optimize a bi-directional transformer though, we need to come back to this issue.

smartie2076 commented 4 years ago

@ursulaelmir this task refers to connecting inverter+rectifier into a bi-directional inverter. Whats your prio on this?

smartie2076 commented 3 years ago

To-dos:

smartie2076 commented 3 years ago

I might have found an inbuild-functionality to connect two inverter assets: https://oemof-solph.readthedocs.io/en/latest/usage.html#adding-additional-constraints

Coupling of two variables e.g. investment variables) with a factor -> equate_variables()

Also see here and here (Code).