Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • O OMEGAlpes
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 33
    • Issues 33
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • OMEGAlpes
  • OMEGAlpes
  • Issues
  • #45

Closed
Open
Created Nov 26, 2019 by Sacha Hodencq@hodencqsOwner

e_tot calculation for storage

Summary

The e_tot calculation is defined in EnergyUnits as :
{0}_e_tot == time.DT * lpSum({0}_p[t]for t in time.I
while p[t] in storage units is calculated as :
{0}_p[t] == {0}_pc[t] - {0}_pd[t]

Steps to reproduce

Opening the storage design example and printing e_tot print(STORAGE.e_tot)

What is the current bug behavior?

The previous command gives a wrong result for e_tot but the right result for the difference between e_ch and e_disch that can be obtained as follow:
print("sum pcharge", sum(STORAGE.pc.value.values())) print("sum pdischarge", sum(STORAGE.pd.value.values()))

What is the expected correct behavior?

e_ch and e_disch should be created and easily accessible, and e_tot also accessible but indicated as the difference between e_ch and e_disch

Edited Nov 27, 2019 by Sacha Hodencq
Assignee
Assign to
Time tracking