Step F first pass: 81/92 accepted; budget floor 60 calls; rejected slots moved for regeneration

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014aUaQeLnwbb1zTpN7kHeat
This commit is contained in:
Kral
2026-10-03 12:10:52 +02:00
parent d3250acfb8
commit 39769afce8
741 changed files with 40573 additions and 317 deletions

View File

@@ -0,0 +1,15 @@
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Energy of one park'
define view entity {{P}}I_PARK_POWER
with parameters
p_park : abap.char(4)
as select from {{p}}turbine as turbine
left outer join {{p}}prod as prod on prod.turbine_id = turbine.turbine_id
{
key turbine.turbine_id as turbine_id,
turbine.park_id as park_id,
sum( prod.energy_kwh ) as total_kwh,
count( * ) as day_count
}
where turbine.park_id = $parameters.p_park
group by turbine.turbine_id, turbine.park_id