Skip to content

Solar should use mid-time stamp #248

@paulf81

Description

@paulf81

Hercules generally uses the convention that the time stamp time_utc refers to the start of the period of record. However, in the case of solar, it would be more accurate if the mid-point was used so that solar libraries like pysam which use time for computing solar altitude use something more reflective of the average. My proposed fix would be:

  1. Either in the solar base class or in individuals, compute/declare a mid-time array and supply that to pysam
  2. Clarify time_utc in the docs as always referring to the start time of a time step and note that solar modules will not pass this value directly but will instead determine the mid-point time of each entry.

@genevievestarke does that sound good to you? @elenya-grant is this similar to H2I method?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions