Merged
Conversation
main to defactoring
…ces to decouple pricing agent from the operator class.
This commit implements a comprehensive gym-like environment system that completely decouples RL agents from the EVCH simulation, enabling easy integration with any gym-compatible RL library. Key Features: - Created unified EVCHGymEnv with standard gym interface (reset, step, render) - Built gym agent adapters for pricing, charging, and storage agents - Enhanced factory functions for easy gym agent integration - Added comprehensive examples and documentation New Files: - utilities/rl_environments/evch_gym_env.py: Unified gym environment wrapper - utilities/rl_agents/adapters/gym_agent_adapter.py: Gym agent adapters - examples/gym_agent_integration_example.py: Working examples - docs/gym_integration_guide.md: Comprehensive integration guide Modified Files: - utilities/rl_agents/factory.py: Added gym agent factory functions Benefits: - Complete decoupling of RL agents from simulation - Standard gym interface for any RL library (Stable Baselines3, RLlib, etc.) - Easy plug-and-play agent swapping - Support for both continuous and discrete action spaces - Scalable architecture for distributed training The simulation now works exactly like standard gym environments, allowing seamless integration with any gym-compatible RL agent without modifying simulation code.
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.