ORIGINAL COMPANY-CONTEXT PRACTICE
Separate charge and discharge in a storage-energy report
Original practice scenario: A hypothetical energy-storage report receives signed power readings and tries to summarize daily energy. Explain how net energy can hide activity and how to handle intervals.
Written for independent practice using company context; this is not a verified question from a company interview.
A REASONED APPROACH
Model answer.
Report charged energy, discharged energy and net energy separately. Opposing flows can cancel numerically while still representing substantial operation, and power must be integrated over time to estimate energy.
Work through it
- Define the sign convention, units and supported sampling intervals, sorting readings by device and measurement generation with duplicate and gap checks.
- Integrate under a stated interpolation rule, splitting intervals at sign changes and reporting-day boundaries when the chosen method supports that calculation.
- Aggregate compatible energy contributions in the declared time zone and retain coverage and estimation flags, reconciling with available meter totals without forcing agreement.
Tradeoffs to discuss
- Finer sampling reduces integration assumptions but increases data volume; coarse telemetry requires larger uncertainty and stronger gap policies.
Common pitfalls
- Do not sum power values directly and label the result energy.
- Missing intervals must not be treated as confirmed zero flow, and efficiency requires a separately defined system boundary.