Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class-based syntax revamp: IPM/MM/ADRIOs #147

Merged
merged 27 commits into from
Aug 23, 2024
Merged

Class-based syntax revamp: IPM/MM/ADRIOs #147

merged 27 commits into from
Aug 23, 2024

Conversation

JavadocMD
Copy link
Contributor

The name of this branch is a bit misleading; it has grown to encompass all class-based syntax rewrite work.

That work is nearing completion so I wanted to open this PR to track it.

Remaining:

  • LODES ADRIO refactor (@meaghan66)
  • Delete and clean up any remaining geo code (@JavadocMD)
  • Communicate changes to rest of the team; this will be release 0.6

Tyler Coles and others added 15 commits August 6, 2024 15:41
SimFunctions now have access to the geo scope.
Adrio2 classes for acs5 attributes.
Adrio2 classes for csv file loading.
Adrio2 class for acs5 commuting flows attribute.
Adrio2 classes for cdc attributes.
TODO: update devlogs, etc.
Now the ADRIO author can decide if caching is appropriate for the use-case.
Cache invalidation is more sophisticated now; a caching ADRIO will check, e.g., that its requirements values haven't changed.
Update cdc devlog for adrio2 refactor.
Lists are unhashable, but AttributeDef needs to be. We now require they be tuples, and will convert to lists when needed for numpy.
@JavadocMD JavadocMD self-assigned this Aug 16, 2024
meaghan66 and others added 12 commits August 20, 2024 15:48
* LODES adrio2 refactor.

* Minor issues addressed in LODES.
Moved adrios.
Changed cache CLI command; not geo specific anymore.
Most notably: cache paths have been updated to match module paths.
ACS5 ADRIOs validate the scope year.
Rather than set context every tick, we can do it once at the start.
Rather than attaching events to a Simulator, we now use a singleton EventBus.
Implemented ADRIO messaging using events.
@JavadocMD JavadocMD merged commit 24d74bd into main Aug 23, 2024
1 check passed
@JavadocMD JavadocMD deleted the adrio2 branch August 23, 2024 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants