Skip to content

service_balancing

Thorsten Zoerner edited this page Feb 1, 2024 · 4 revisions

Service: balancing

Method assets

Calls:

graph TD
   balancing.assets --> balance_settlements_active_model.list
   balancing.assets --> balance_settlements_active_model.find
Loading

Method peers

Calls:

graph TD
   balancing.peers --> asset.query
Loading

Method latestBalances

Calls:

graph TD
   balancing.latestBalances --> balance_settlements_active_model.find
   balancing.latestBalances --> balancing.balance
Loading

Method statements

Calls:

graph TD
   balancing.statements --> balancing.getUpstream
   balancing.statements --> statement_model.find
   balancing.statements --> balancing_model.find
Loading

Method getUpstream

Called by:

Calls:

graph TD
   balancing.statements --> balancing.getUpstream
   balancing.unsealedBalance --> balancing.getUpstream
   balancing.getUpstream --> asset.get
Loading

Method addSettlement

Called by:

Calls:

graph TD
   loadprofile.addSettlement --> balancing.addSettlement
   balancing.addSettlement --> asset.get
   balancing.addSettlement --> asset.upsert
   balancing.addSettlement --> asset.upsert
   balancing.addSettlement --> balances_sealed_model.find
   balancing.addSettlement --> balances_sealed_model.find
   balancing.addSettlement --> balance_settlements_late_model.insert
   balancing.addSettlement --> balance_settlements_active_model.insert
   balancing.addSettlement --> balancing.seal
Loading

Method decodeSeal

graph TD
Loading

Method isSealed

Called by:

Calls:

graph TD
   meritorder.probeBalance --> balancing.isSealed
   balancing.isSealed --> balances_sealed_model.find
Loading

Method balance

Called by:

Calls:

graph TD
   balancing.latestBalances --> balancing.balance
   balancing.balance --> balances_sealed_model.find
   balancing.balance --> balancing.unsealedBalance
Loading

Method sealedBalance

Calls:

graph TD
   balancing.sealedBalance --> balances_sealed_model.find
Loading

Method unsealedBalance

Called by:

Calls:

graph TD
   balancing.balance --> balancing.unsealedBalance
   balancing.seal --> balancing.unsealedBalance
   balancing.unsealedBalance --> balances_sealed_model.find
   balancing.unsealedBalance --> balance_settlements_active_model.find
   balancing.unsealedBalance --> balancing.getUpstream
   balancing.unsealedBalance --> meritorder.probeBalance
Loading

Method seal

Called by:

Calls:

graph TD
   balancing.addSettlement --> balancing.seal
   balancing.seal --> balances_sealed_model.find
   balancing.seal --> balancing.unsealedBalance
   balancing.seal --> balance_settlements_active_model.insert
   balancing.seal --> balancing.unsealedBalance
   balancing.seal --> audit.requestApproval
   balancing.seal --> meritorder.process
   balancing.seal --> balances_sealed_model.insert
Loading
Clone this wiki locally