Plotting Module¶
PowerGAMA module containing plotting functions
-
powergama.plots.
plotMap
(pg_data, pg_res=None, filename=None, nodetype=None, branchtype=None, filter_node=[0, 100], filter_branch=None, timeMaxMin=None, spread_nodes_r=None, **kwargs)¶ Plot PowerGAMA data/results on map
Parameters: - pg_data : powergama.GridData
powergama data object
- pg_res : powergama.Results
powergama results object
- filename : str
name of output file (html)
- nodetype : str (‘nodalprice’,’area’) or None (default)
how to colour nodes
- branchtype : str (‘utilisation’,’sensitivity’) or None (default)
how to colour branches
- filter_node : list
max/min value used for colouring nodes (e.g. nodalprice)
- filter_branch : list
max/min value used for colouring branches (e.g. utilisation)
- timeMaxMin : [min,max]
time interval used when showing simulation results
- spread_nodes_r : float (degrees)
radius (degrees) of circle on which overlapping nodes are spread (use eg 0.04)
- kwargs : arguments passed on to folium.Map(…)