echo.visualization module
- class echo.visualization.PlotlyGraph
Bases:
object- static plot(graph: ~networkx.classes.graph.Graph, positions: dict, node_text: ~collections.abc.Callable[[~typing.Any, ~typing.Any], str] | None = <function PlotlyGraph.<lambda>>, node_size: ~collections.abc.Callable[[~typing.Any, ~typing.Any], int] = <function PlotlyGraph.<lambda>>, node_color: ~collections.abc.Callable[[~typing.Any, ~typing.Any], str] = <function PlotlyGraph.<lambda>>, node_hover_text: ~collections.abc.Callable[[~typing.Any, ~typing.Any], str] | None = <function PlotlyGraph.<lambda>>, edge_text: ~collections.abc.Callable[[~typing.Any], str] | None = <function PlotlyGraph.<lambda>>, edge_hover_text: ~collections.abc.Callable[[~typing.Any], str] | None = <function PlotlyGraph.<lambda>>, title: str | None = None, add_legend: bool = False, show_node_names: bool = False, color_connection_point_type: bool = False, template: str = 'plotly_white') Figure
- class echo.visualization.VizNodeType(*values)
Bases:
StrEnum- Battery = 'battery'
- Boiler = 'boiler'
- Bus = 'bus'
- Chiller = 'chiller'
- ConnectionPoint = 'connectionpoint'
- CoolingDemand = 'coolingdemand'
- EV = 'ev'
- ElectricalLoad = 'electricalload'
- GasGrid = 'gasgrid'
- Grid = 'grid'
- HeatAggregationNode = 'heataggregationnode'
- HeatPump = 'heatpump'
- HeatingDemand = 'heatingdemand'
- Inverter = 'inverter'
- Line = 'line'
- Load = 'load'
- MultiCommodityBus = 'multicommoditybus'
- ParameterisedChiller = 'parameterisedchiller'
- ParameterisedHeatPump = 'parameterisedheatpump'
- PartitionedMultiCommodityBus = 'partitionedmulticommoditybus'
- Solar = 'solar'
- ThermalDistribution = 'thermaldistribution'
- ThermalStorage = 'thermalstorage'
- ThermalTellegen = 'thermaltellegen'
- Transformer = 'transformer'
- echo.visualization.echo_edge_text(edge: tuple, *args) str
- echo.visualization.echo_node_color(node: str, *args) str
- echo.visualization.echo_node_size(node: str, *args) int
- echo.visualization.echo_node_text(node: str, *args) str