Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/fixtures/configs/battery_test_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ circuit_templates:
typical_power: 0.0
power_variation: 0.1
relay_behavior: "controllable"
priority: "NON_ESSENTIAL"
priority: "OFF_GRID"
battery_behavior:
enabled: true
max_charge_power: -5000
Expand All @@ -39,7 +39,7 @@ circuit_templates:
typical_power: 50.0
power_variation: 0.1
relay_behavior: "controllable"
priority: "NON_ESSENTIAL"
priority: "OFF_GRID"

circuits:
- id: "battery_circuit"
Expand Down
10 changes: 5 additions & 5 deletions tests/fixtures/configs/behavior_test_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ circuit_templates:
typical_power: 2800.0
power_variation: 0.1
relay_behavior: "controllable"
priority: "NON_ESSENTIAL"
priority: "OFF_GRID"
cycling_pattern:
on_duration: 900 # 15 minutes on
off_duration: 1800 # 30 minutes off
Expand All @@ -26,7 +26,7 @@ circuit_templates:
typical_power: 40.0
power_variation: 0.2
relay_behavior: "controllable"
priority: "MUST_HAVE"
priority: "NEVER"
time_of_day_profile:
enabled: true
peak_hours: [18, 19, 20, 21, 22]
Expand All @@ -38,7 +38,7 @@ circuit_templates:
typical_power: 6000.0
power_variation: 0.05
relay_behavior: "controllable"
priority: "NON_ESSENTIAL"
priority: "OFF_GRID"
smart_behavior:
max_power_reduction: 0.6 # Can reduce to 40% during grid stress

Expand All @@ -49,7 +49,7 @@ circuit_templates:
typical_power: -4000.0
power_variation: 0.3
relay_behavior: "non_controllable"
priority: "MUST_HAVE"
priority: "NEVER"
time_of_day_profile:
enabled: true
peak_hours: [10, 11, 12, 13, 14] # Solar peak production
Expand All @@ -61,7 +61,7 @@ circuit_templates:
typical_power: 75.0
power_variation: 0.15
relay_behavior: "controllable"
priority: "MUST_HAVE"
priority: "NEVER"

circuits:
- id: "main_hvac_cycling"
Expand Down
8 changes: 4 additions & 4 deletions tests/fixtures/configs/simple_test_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ circuit_templates:
typical_power: 25.0
power_variation: 0.1
relay_behavior: "controllable"
priority: "MUST_HAVE"
priority: "NEVER"

outlets:
energy_profile:
Expand All @@ -23,7 +23,7 @@ circuit_templates:
typical_power: 150.0
power_variation: 0.3
relay_behavior: "controllable"
priority: "MUST_HAVE"
priority: "NEVER"

hvac:
energy_profile:
Expand All @@ -32,7 +32,7 @@ circuit_templates:
typical_power: 2000.0
power_variation: 0.15
relay_behavior: "controllable"
priority: "NON_ESSENTIAL"
priority: "OFF_GRID"

solar:
energy_profile:
Expand All @@ -41,7 +41,7 @@ circuit_templates:
typical_power: -2500.0
power_variation: 0.2
relay_behavior: "non_controllable"
priority: "MUST_HAVE"
priority: "NEVER"

circuits:
- id: "living_room_lights"
Expand Down
34 changes: 17 additions & 17 deletions tests/fixtures/configs/simulation_config_32_circuit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ circuit_templates:
typical_power: 60.0
power_variation: 0.1
relay_behavior: "controllable"
priority: "MUST_HAVE"
priority: "NEVER"

# Exterior lighting with time-based patterns
lighting:
Expand All @@ -26,7 +26,7 @@ circuit_templates:
typical_power: 300.0
power_variation: 0.05
relay_behavior: "controllable"
priority: "NON_ESSENTIAL"
priority: "OFF_GRID"
time_of_day_profile:
enabled: true
peak_hours: [18, 19, 20, 21, 22] # Evening hours
Expand All @@ -39,7 +39,7 @@ circuit_templates:
typical_power: 2800.0
power_variation: 0.1
relay_behavior: "controllable"
priority: "MUST_HAVE"
priority: "NEVER"
cycling_pattern:
on_duration: 1200 # 20 minutes
off_duration: 2400 # 40 minutes
Expand All @@ -52,7 +52,7 @@ circuit_templates:
typical_power: 1800.0
power_variation: 0.15
relay_behavior: "controllable"
priority: "NON_ESSENTIAL"
priority: "OFF_GRID"

# Refrigerator with compressor cycling
refrigerator:
Expand All @@ -62,7 +62,7 @@ circuit_templates:
typical_power: 120.0
power_variation: 0.2
relay_behavior: "non_controllable"
priority: "MUST_HAVE"
priority: "NEVER"
cycling_pattern:
on_duration: 600 # 10 minutes
off_duration: 1800 # 30 minutes
Expand All @@ -75,7 +75,7 @@ circuit_templates:
typical_power: 7200.0 # Level 2 charging (240V @ 30A)
power_variation: 0.05
relay_behavior: "controllable"
priority: "NON_ESSENTIAL"
priority: "OFF_GRID"
device_type: "evse" # Generates EVSE (SPAN Drive) snapshot
smart_behavior:
responds_to_grid: true
Expand All @@ -89,7 +89,7 @@ circuit_templates:
typical_power: 800.0
power_variation: 0.1
relay_behavior: "controllable"
priority: "NON_ESSENTIAL"
priority: "OFF_GRID"
cycling_pattern:
on_duration: 7200 # 2 hours on
off_duration: 14400 # 4 hours off
Expand All @@ -103,7 +103,7 @@ circuit_templates:
power_variation: 0.3
efficiency: 0.85 # 85% efficiency
relay_behavior: "non_controllable"
priority: "MUST_HAVE"
priority: "NEVER"
time_of_day_profile:
enabled: true
peak_hours: [11, 12, 13, 14, 15] # Peak production 11 AM - 3 PM
Expand Down Expand Up @@ -135,7 +135,7 @@ circuit_templates:
power_variation: 0.05 # Generators are very stable
efficiency: 0.92 # 92% fuel efficiency
relay_behavior: "controllable"
priority: "MUST_HAVE"
priority: "NEVER"

# Battery storage - bidirectional
battery_storage:
Expand All @@ -146,7 +146,7 @@ circuit_templates:
power_variation: 0.02 # Very stable
efficiency: 0.95 # 95% round-trip efficiency
relay_behavior: "controllable"
priority: "MUST_HAVE"
priority: "NEVER"
battery_behavior:
enabled: true
charge_power: 3000.0
Expand All @@ -162,7 +162,7 @@ circuit_templates:
power_variation: 0.5 # Very variable based on wind
efficiency: 0.75 # 75% efficiency
relay_behavior: "non_controllable"
priority: "MUST_HAVE"
priority: "NEVER"

# General outlet circuits
outlets:
Expand All @@ -172,7 +172,7 @@ circuit_templates:
typical_power: 150.0
power_variation: 0.4 # Very variable loads
relay_behavior: "controllable"
priority: "MUST_HAVE"
priority: "NEVER"

# Kitchen specific outlets (higher capacity)
kitchen_outlets:
Expand All @@ -182,7 +182,7 @@ circuit_templates:
typical_power: 300.0
power_variation: 0.5 # Very variable - appliances
relay_behavior: "controllable"
priority: "MUST_HAVE"
priority: "NEVER"

# Heat pump with seasonal efficiency
heat_pump:
Expand All @@ -192,7 +192,7 @@ circuit_templates:
typical_power: 2800.0
power_variation: 0.25 # Efficiency varies with temperature
relay_behavior: "controllable"
priority: "NON_ESSENTIAL"
priority: "OFF_GRID"
cycling_pattern:
on_duration: 900 # 15 minutes on
off_duration: 1800 # 30 minutes off
Expand All @@ -205,7 +205,7 @@ circuit_templates:
typical_power: 800.0
power_variation: 0.3
relay_behavior: "controllable"
priority: "NON_ESSENTIAL"
priority: "OFF_GRID"

circuits:
# Lighting circuits (tabs 1-6)
Expand Down Expand Up @@ -371,7 +371,7 @@ unmapped_tab_templates:
power_variation: 0.2
efficiency: 0.85
relay_behavior: "non_controllable"
priority: "MUST_HAVE"
priority: "NEVER"
time_of_day_profile:
enabled: true
peak_hours: [11, 12, 13, 14, 15] # Peak production 11 AM - 3 PM
Expand Down Expand Up @@ -402,7 +402,7 @@ unmapped_tab_templates:
power_variation: 0.2
efficiency: 0.85
relay_behavior: "non_controllable"
priority: "MUST_HAVE"
priority: "NEVER"
time_of_day_profile:
enabled: true
peak_hours: [11, 12, 13, 14, 15] # Peak production 11 AM - 3 PM
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ circuit_templates:
typical_power: 25.0
power_variation: 0.15
relay_behavior: "controllable"
priority: "MUST_HAVE"
priority: "NEVER"

outlets:
energy_profile:
Expand All @@ -24,7 +24,7 @@ circuit_templates:
typical_power: 150.0
power_variation: 0.4
relay_behavior: "controllable"
priority: "MUST_HAVE"
priority: "NEVER"

# EV charger (SPAN Drive) with smart grid response
ev_charger:
Expand All @@ -34,7 +34,7 @@ circuit_templates:
typical_power: 7200.0 # Level 2 charging (240V @ 30A)
power_variation: 0.05
relay_behavior: "controllable"
priority: "NON_ESSENTIAL"
priority: "OFF_GRID"
device_type: "evse" # Generates EVSE (SPAN Drive) snapshot
smart_behavior:
responds_to_grid: true
Expand All @@ -47,7 +47,7 @@ circuit_templates:
typical_power: 1500.0
power_variation: 0.2
relay_behavior: "controllable"
priority: "MUST_HAVE"
priority: "NEVER"
cycling_pattern:
on_duration: 900 # 15 minutes
off_duration: 1800 # 30 minutes
Expand All @@ -59,7 +59,7 @@ circuit_templates:
typical_power: -4000.0
power_variation: 0.4
relay_behavior: "non_controllable"
priority: "MUST_HAVE"
priority: "NEVER"

battery:
energy_profile:
Expand All @@ -68,7 +68,7 @@ circuit_templates:
typical_power: 0.0 # Neutral when idle
power_variation: 0.1
relay_behavior: "non_controllable"
priority: "MUST_HAVE"
priority: "NEVER"
battery_behavior:
enabled: true
charge_efficiency: 0.95 # 95% efficient charging
Expand Down Expand Up @@ -311,7 +311,7 @@ unmapped_tab_templates:
typical_power: 150.0
power_variation: 0.2
relay_behavior: "non_controllable"
priority: "NON_ESSENTIAL"
priority: "OFF_GRID"

simulation_params:
enable_realistic_behaviors: true
Expand Down
16 changes: 8 additions & 8 deletions tests/fixtures/configs/simulation_config_8_tab_workshop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ circuit_templates:
typical_power: 45.0
power_variation: 0.2
relay_behavior: "controllable"
priority: "MUST_HAVE"
priority: "NEVER"
time_of_day_profile:
enabled: true
peak_hours: [7, 8, 17, 18, 19, 20]
Expand All @@ -30,7 +30,7 @@ circuit_templates:
typical_power: 2200.0
power_variation: 0.4
relay_behavior: "controllable"
priority: "NON_ESSENTIAL"
priority: "OFF_GRID"
cycling_pattern:
enabled: true
on_duration_minutes: 15
Expand All @@ -44,7 +44,7 @@ circuit_templates:
typical_power: 400.0
power_variation: 0.6
relay_behavior: "controllable"
priority: "NON_ESSENTIAL"
priority: "OFF_GRID"
cycling_pattern:
enabled: true
on_duration_minutes: 8
Expand All @@ -58,7 +58,7 @@ circuit_templates:
typical_power: 1500.0
power_variation: 0.3
relay_behavior: "controllable"
priority: "NICE_TO_HAVE"
priority: "SOC_THRESHOLD"
time_of_day_profile:
enabled: true
peak_hours: [8, 9, 10, 11, 12, 13, 14, 15, 16, 17]
Expand Down Expand Up @@ -102,7 +102,7 @@ unmapped_tab_templates:
typical_power: 200.0
power_variation: 0.3
relay_behavior: "controllable"
priority: "NON_ESSENTIAL"
priority: "OFF_GRID"
cycling_pattern:
enabled: true
on_duration_minutes: 10
Expand All @@ -116,7 +116,7 @@ unmapped_tab_templates:
typical_power: 400.0
power_variation: 0.4
relay_behavior: "controllable"
priority: "NON_ESSENTIAL"
priority: "OFF_GRID"
cycling_pattern:
enabled: true
on_duration_minutes: 15
Expand All @@ -130,7 +130,7 @@ unmapped_tab_templates:
typical_power: 150.0
power_variation: 0.2
relay_behavior: "controllable"
priority: "NON_ESSENTIAL"
priority: "OFF_GRID"
time_of_day_profile:
enabled: true
peak_hours: [8, 9, 10, 11, 12, 13, 14, 15, 16, 17]
Expand All @@ -144,7 +144,7 @@ unmapped_tab_templates:
typical_power: 300.0
power_variation: 0.3
relay_behavior: "controllable"
priority: "NON_ESSENTIAL"
priority: "OFF_GRID"
cycling_pattern:
enabled: true
on_duration_minutes: 12
Expand Down
Loading