Minimum Working Example

Tessif minimum working example energy system model.

tessif_examples.basic.mwe.create_mwe()[source]

Create minimally parameterized working example.

Returns

Tessif minimum working example energy system.

Return type

tessif.system_model.AbstractEnergySystem

Example

Visualize the energy system for better understanding what the output means:

from tessif_visualize import dcgrph as dcv

app = dcv.draw_generic_graph(
    system_model=create_mwe(),
    color_group={
        'Gas Station': '#006666',
        'Pipeline': '#006666',
        'Generator': '#006666',
        'Powerline': '#ffcc00',
        'Battery': '#ff6600',
        'Demand': '#009900',
    },
)

# Serve interactive drawing to http://127.0.0.1:8050/
app.run_server(debug=False)
Image showing the mwe energy system graph