Skip to content

Add interval frequency to Battery environment#73

Merged
ADGEfficiency merged 2 commits intomainfrom
fix/interval-freq-mw-mwh
May 10, 2025
Merged

Add interval frequency to Battery environment#73
ADGEfficiency merged 2 commits intomainfrom
fix/interval-freq-mw-mwh

Conversation

@ADGEfficiency
Copy link
Copy Markdown
Owner

@ADGEfficiency ADGEfficiency commented May 10, 2025

Feat:

  • Added support for different time intervals in the Battery environment
  • Implemented power (MW) to energy (MWh) conversion using a new Freq class
  • Maintains backward compatibility with default hourly frequency

ADGEfficiency and others added 2 commits May 10, 2025 17:54
- Added Freq class to handle power/energy conversion at different time intervals
- Modified Battery class to accept freq_mins parameter (defaults to 60 mins)
- Updated step method to use correct MW to MWh conversion based on frequency
- Updated make_env function to pass freq_mins parameter
- Added comprehensive tests for frequency conversion functionality

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@ADGEfficiency ADGEfficiency changed the title Fix: Add frequency support to Battery environment Add interval frequency to Battery environment May 10, 2025
@ADGEfficiency ADGEfficiency merged commit 9d54e85 into main May 10, 2025
4 checks passed
@ADGEfficiency ADGEfficiency deleted the fix/interval-freq-mw-mwh branch May 10, 2025 06:30
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.

1 participant