hadar.analyzer.result.
ResultAnalyzer
Bases: object
object
Single object to encapsulate all postprocessing aggregation.
check_index
Check indexes cohesion :param indexes: list fo indexes :param type: Index type to check inside list :return: true if at least one type is in list False else
filter
Aggregate according to index level and filter.
get_balance
Compute balance over time on asked node.
node – node asked
network – network asked. Default is ‘default’
timeline array with balance exchanges value
get_cost
Compute adequacy cost on a node, network or whole study.
node – node name. None by default to ask whole network.
network – network name, ‘default’ as default if node is provided or None to ask whole network.
matrix (scn, time)
get_elements_inside
Get numbers of elements by node.
(nb of consumptions, nb of productions, nb of storages, nb of links (export), nb of converters (export), nb of converters (import)
get_rac
Compute Remain Availabale Capacities on network.
network – selecto network to compute. Default is default.
horizon
Shortcut to get study horizon.
study horizon
nb_scn
Shortcut to get study number of scenarios.
study number of scenarios
network
Entry point for fluent api :param name: network name. ‘default’ as default :return: Fluent API Selector
nodes
Shortcut to get list of node names
network – network selected
nodes name
NetworkFluentAPISelector
Fluent Api Selector to analyze network element.
User can join network, node, consumption, production, link, time, scn to create filter and organize hierarchy. Join can me in any order, except: - join begin by network - join is unique only one element of node, time, scn are expected for each query - production, consumption and link are excluded themself, only on of them are expected for each query
FULL_DESCRIPTION