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

feat: add workflow triggers #439

Merged
merged 9 commits into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from 3 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
2 changes: 1 addition & 1 deletion toolkit/config.heco-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ variables:
power_ops_type_space: "power_ops_types"
power_ops_instance_space: "power_ops_instances"
power_ops_models_space: "power_ops_core"
version: "1"
power_ops_version: "1"
2 changes: 1 addition & 1 deletion toolkit/config.heco-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ variables:
power_ops_type_space: "power_ops_types"
power_ops_instance_space: "power_ops_instances"
power_ops_models_space: "power_ops_core"
version: "1"
power_ops_version: "1"
2 changes: 1 addition & 1 deletion toolkit/config.lyse-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ variables:
power_ops_type_space: "power_ops_types"
power_ops_instance_space: "power_ops_instances"
power_ops_models_space: "power_ops_core"
version: "1"
power_ops_version: "1"
2 changes: 1 addition & 1 deletion toolkit/config.lyse-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ variables:
power_ops_type_space: "power_ops_types"
power_ops_instance_space: "power_ops_instances"
power_ops_models_space: "power_ops_core"
version: "1"
power_ops_version: "1"
2 changes: 1 addition & 1 deletion toolkit/config.oe-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ variables:
power_ops_type_space: "power_ops_types"
power_ops_instance_space: "power_ops_instances"
power_ops_models_space: "power_ops_core"
version: "1"
power_ops_version: "1"
2 changes: 1 addition & 1 deletion toolkit/config.oe-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ variables:
power_ops_type_space: "power_ops_types"
power_ops_instance_space: "power_ops_instances"
power_ops_models_space: "power_ops_core"
version: "1"
power_ops_version: "1"
11 changes: 10 additions & 1 deletion toolkit/config.staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,19 @@ environment:
type: staging
selected:
- modules/power_model
# - modules/power_ops_template

variables:
modules:
# variables required for BOTH power_model and power_ops_template
power_ops_type_space: "power_ops_types"
power_ops_instance_space: "power_ops_instances"
power_ops_models_space: "power_ops_core"
version: "1"
power_ops_version: "1"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
power_ops_version: "1"
power_ops_data_model_version: "1"

Suggestion to avoid confusion with e. g. PowerOps SDK version

# variables required for ONLY power_ops_template
wf_day_ahead_market: "DAY_AHEAD"
wf_day_ahead_bid_process_xid: "DayAheadBidProcess"
wf_day_ahead_bid_process_version: "latest"
wf_day_ahead_bid_process_cron: "30 9 * * *" # translates to 9:30 UTC / 11:30 CEST
wf_trigger_client_id: "d985b4fe-275e-4df3-9e49-b6b18a77778a"
wf_trigger_client_secret: ${WF_TRIGGER_SECRET}
Original file line number Diff line number Diff line change
Expand Up @@ -7,180 +7,180 @@ views:
- externalId: BidConfigurationDayAhead
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- externalId: MarketConfiguration
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- externalId: PriceArea
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- externalId: PriceAreaDayAhead
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- externalId: PartialBidConfiguration
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- externalId: ShopBasedPartialBidConfiguration
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- externalId: WaterValueBasedPartialBidConfiguration
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- externalId: ShopOutputTimeSeriesDefinition
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- externalId: ShopScenario
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- externalId: ShopScenarioSet
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- externalId: ShopAttributeMapping
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- externalId: ShopModel
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- externalId: Generator
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- externalId: TurbineEfficiencyCurve
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- externalId: GeneratorEfficiencyCurve
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- externalId: ShopCommands
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- externalId: Plant
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- externalId: PlantWaterValueBased
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- externalId: TaskDispatcherInput
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- externalId: TaskDispatcherOutput
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- externalId: ShopPreprocessorInput
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- externalId: ShopPreprocessorOutput
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- externalId: ShopTriggerInput
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- externalId: ShopTriggerOutput
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- externalId: PartialBidMatrixCalculationInput
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- externalId: MultiScenarioPartialBidMatrixCalculationInput
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- externalId: PartialBidMatrixCalculationOutput
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- externalId: BidMatrix
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- externalId: ShopResult
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- externalId: Alert
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- externalId: PriceProduction
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- externalId: ShopTimeSeries
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- space: "{{power_ops_models_space}}"
externalId: FunctionInput
version: "{{version}}"
version: "{{power_ops_version}}"
type: view
- space: "{{power_ops_models_space}}"
externalId: FunctionOutput
version: "{{version}}"
version: "{{power_ops_version}}"
type: view
- externalId: WaterValueBasedPartialBidMatrixCalculationInput
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- externalId: TotalBidMatrixCalculationInput
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- externalId: TotalBidMatrixCalculationOutput
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- externalId: BidDocumentDayAhead
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- externalId: ShopCase
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
- space: "{{power_ops_models_space}}"
externalId: BidDocument
version: "{{version}}"
version: "{{power_ops_version}}"
type: view
- space: "{{power_ops_models_space}}"
externalId: PowerAsset
version: "{{version}}"
version: "{{power_ops_version}}"
type: view
- space: "{{power_ops_models_space}}"
externalId: ShopFile
version: "{{version}}"
version: "{{power_ops_version}}"
type: view
- space: "{{power_ops_models_space}}"
externalId: BidMatrixInformation
version: "{{version}}"
version: "{{power_ops_version}}"
type: view
- space: "{{power_ops_models_space}}"
externalId: PartialBidMatrixInformation
version: "{{version}}"
version: "{{power_ops_version}}"
type: view
- externalId: DateSpecification
space: "{{power_ops_models_space}}"
type: view
version: "{{version}}"
version: "{{power_ops_version}}"
Loading