-
Notifications
You must be signed in to change notification settings - Fork 0
(PR11) Business View - Catalogs #18
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
Draft
nikolaredstork
wants to merge
56
commits into
libraries/cicd-pipeline
Choose a base branch
from
libraries/business-metrics-antares-legacy
base: libraries/cicd-pipeline
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
4df4d6a
Initial commit
nikolaredstork 0537362
(PR9) Test Antares Legacy Models (#14)
nikolaredstork edce785
OV.COST output
nikolaredstork 05bc21d
Add taxonomy group for Renewable GEMS model
nikolaredstork 5ad05ba
Delete template metrics
nikolaredstork 2d09981
Rename shedding_load to flexible_load and update costs (#17)
aoustry 712a01c
OP.COST and LOAD
nikolaredstork fb9f169
MRG.PRICE
nikolaredstork aa886f2
DTG_BY_TECHNOLOGY
nikolaredstork f9056f9
Fix DTG_BY_TECHNOLOGY
nikolaredstork d2dcc00
Import/Export of an area (positive value: import)
nikolaredstork fc8f404
(PR5) Documentation/Overview/Concepts (#9)
GuillaumeMaistre 48b5133
Refactor
nikolaredstork e5f15c0
RES.GENERATION
nikolaredstork f2c057c
STS output
nikolaredstork a520338
ENS and Spillage
nikolaredstork 13e91e8
NODU
nikolaredstork 9e59c06
NP.COST
nikolaredstork e078531
Additional area output
nikolaredstork 3fc101f
Add Link catalog
nikolaredstork ff9c257
DTG BY PLANT
nikolaredstork 40be910
LOLP LOLD
nikolaredstork 4bdde97
Profit by plant
nikolaredstork 4e0a301
profit by plant and LOAD
nikolaredstork 1e4bad6
STS by group and by id
nikolaredstork 8fccf59
Nodu and NP cost by are and by cluster
nikolaredstork e1eaedb
Fix/e2e tests fix (#22)
nikolaredstork 1641c48
Merge branch 'main' into libraries/business-metrics-antares-legacy
nikolaredstork 40042f3
Exclude output from tests
nikolaredstork 305a256
Fix test 2
nikolaredstork c88f6da
Merge branch 'main' into libraries/business-metrics-antares-legacy
nikolaredstork a40adb5
Update antares legacy library
nikolaredstork 9b51926
Update Antares Area legacy business file
nikolaredstork baecd67
Update link catalog
nikolaredstork be170f1
Thermal Cluster Catalog
nikolaredstork e6e088c
Fix operator syntax
nikolaredstork 8e0e403
Fix operator <=
nikolaredstork 936b412
Fix link output
nikolaredstork a0bbabf
Add output for fatal production
nikolaredstork 3835685
Add Hydro output
nikolaredstork 36b57cf
Rename business file
nikolaredstork 7f7d35c
All fatal generation can be filtered with implemented metrix
nikolaredstork f84ed0b
Fix metric output
nikolaredstork 32f4a05
Replace taxonomy-group with taxonomy-category
aoustry 6b86c48
Replace taxonomy-group with taxonomy-category in legacy_link_view
aoustry acea9fc
Change taxonomy-group to taxonomy-category in thermal view
aoustry da0f29b
Change taxonomy category from 'exchange' to 'link'
aoustry 0f86f6a
Change taxonomy-category from 'exchange' to 'link'
aoustry 1d5cc84
Change output-id from 'marginal_price' to 'price'
aoustry ad5bc03
Update antares_legacy_area_catalog.yml
aoustry 9680ae9
Update antares_legacy_area_catalog.yml
aoustry 28b3dd3
Update output IDs in antares_legacy_area_catalog.yml
aoustry 8da2bac
Change taxonomy category from renewable to fatal production
aoustry 5a7b68e
Modify output-ids and time-operators in YAML
aoustry 22702a5
Add comments for catalog improvements and remarks
aoustry 4bf2eb6
Update catalog with comments for metric improvements
aoustry File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,295 @@ | ||
| # Such a file for "Business Metrics" definitions should be modified only by expert user in a text editor. No API/GUI is needed. | ||
| # In "secure mode", a user can only refer to "Business Metrics Definition files" that are registered as "safe" in a reference repo. | ||
| # In "free mode", a user can refer to "Business Metrics Definitions files" that are freely modified | ||
|
|
||
| ############################ Columns of a Business View ####################################### | ||
|
|
||
| # metric_id | metric_location | breakdown_property | view_date | scenario_id | metric_value | | ||
|
|
||
| #################################################################################################### | ||
|
|
||
| catalog: | ||
|
|
||
| id: antares_area_output | ||
|
|
||
| taxonomy: my_taxonomy | ||
|
|
||
| location: | ||
| taxonomy-category: balance | ||
|
|
||
| metrics-definition: | ||
|
|
||
| - id: OV.COST | ||
| terms: | ||
| - taxonomy-category: balance | ||
| output-id: imbalance_cost | ||
| location-ports: null | ||
| - taxonomy-category: dispatchable_production | ||
| output-id: proportional_cost | ||
| location-ports: balance_port | ||
| - taxonomy-category: dispatchable_production | ||
| output-id: non_proportional_cost | ||
| location-ports: balance_port | ||
| terms-operator: sum | ||
| time-operator: sum | ||
|
|
||
|
|
||
| - id: OP.COST | ||
| terms: | ||
| - taxonomy-category: dispatchable_production | ||
| output-id: proportional_cost | ||
| location-ports: balance_port | ||
| - taxonomy-category: dispatchable_production | ||
| output-id: non_proportional_cost | ||
| location-ports: balance_port | ||
| terms-operator: sum | ||
| time-operator: sum | ||
|
|
||
| - id: MRG.PRICE | ||
| terms: | ||
| - taxonomy-category: balance | ||
| output-id: price | ||
| location-ports: null | ||
| terms-operator: avg | ||
| time-operator: avg | ||
|
|
||
| - id: CO2.EMIS | ||
| terms: | ||
| - taxonomy-category: dispatchable_production | ||
| output-id: co2_emissions | ||
| location-ports: balance_port | ||
| terms-operator: sum | ||
| time-operator: sum | ||
|
|
||
| - id: LOAD | ||
| terms: | ||
| - taxonomy-category: consumption | ||
| output-id: withdrawal | ||
| location-ports: balance_port | ||
| terms-operator: sum | ||
| time-operator: sum | ||
|
|
||
| - id: DTG.BY.TECHNOLOGY | ||
| terms: | ||
| - taxonomy-category: dispatchable_production | ||
| output-id: balance_port.flow | ||
| location-ports: balance_port | ||
| terms-operator: sum | ||
| breakdown: | ||
| - key: technology | ||
| time-operator: sum | ||
|
|
||
| - id: BALANCE | ||
| terms: | ||
| - taxonomy-category: link | ||
| output-id: out_port.flow | ||
| location-ports: out_port | ||
| - taxonomy-category: link | ||
| output-id: in_port.flow | ||
| location-ports: in_port | ||
| terms-operator: sum | ||
| time-operator: sum | ||
|
|
||
| - id: RES.GENERATION | ||
| terms: | ||
| - taxonomy-category: fatal_production | ||
| output-id: balance_port.flow | ||
| location-ports: balance_port | ||
| breakdown: | ||
| - key: technology | ||
| terms-operator: sum | ||
| time-operator: sum | ||
|
|
||
| - id: STS.INJECTION | ||
| terms: | ||
| - taxonomy-category: storage | ||
| output-id: p_injection # Is this feasible? | ||
| location-ports: injection_port | ||
| breakdown: | ||
| - key: sts_group | ||
| terms-operator: sum | ||
| time-operator: sum | ||
|
|
||
| - id: STS.WITHDRAWAL | ||
| terms: | ||
| - taxonomy-category: storage | ||
| output-id: p_withdrawal | ||
| location-ports: injection_port | ||
| breakdown: | ||
| - key: sts_group | ||
| terms-operator: sum | ||
| time-operator: sum | ||
|
|
||
| - id: STS.LEVEL | ||
| terms: | ||
| - taxonomy-category: storage | ||
| output-id: level | ||
| location-ports: injection_port | ||
| breakdown: | ||
| - key: sts_group | ||
| terms-operator: avg | ||
| time-operator: avg | ||
|
|
||
| - id: STS.INJECTION | ||
| terms: | ||
| - taxonomy-category: storage | ||
| output-id: p_injection | ||
| location-ports: injection_port | ||
| breakdown: | ||
| - key: sts_id | ||
| terms-operator: sum | ||
| time-operator: sum | ||
|
|
||
| - id: STS.WITHDRAWAL | ||
| terms: | ||
| - taxonomy-category: storage | ||
| output-id: p_withdrawal | ||
| location-ports: injection_port | ||
| breakdown: | ||
| - key: sts_id | ||
| terms-operator: sum | ||
| time-operator: sum | ||
|
|
||
| - id: STS.LEVEL | ||
| terms: | ||
| - taxonomy-category: storage | ||
| output-id: level | ||
| location-ports: injection_port | ||
| breakdown: | ||
| - key: sts_id | ||
| terms-operator: avg | ||
| time-operator: avg | ||
|
|
||
| - id: UNSP.ENRG | ||
| terms: | ||
| - taxonomy-category: balance | ||
| output-id: unsupplied_energy | ||
| location-ports: null | ||
| terms-operator: sum | ||
| time-operator: sum | ||
|
|
||
| - id: SPIL.ENRG | ||
| terms: | ||
| - taxonomy-category: balance | ||
| output-id: spilled_energy | ||
| location-ports: null | ||
| terms-operator: sum | ||
| time-operator: sum | ||
|
|
||
| - id: NODU.BY.AREA # Not quite sure this is right approach ? | ||
| terms: | ||
| - taxonomy-category: dispatchable_production | ||
| output-id: nb_units_on | ||
| location-ports: balance_port | ||
| terms-operator: sum | ||
| time-operator: sum | ||
|
|
||
| - id: NP.COST.BY.AREA # Not quite sure this is right approach ? | ||
| terms: | ||
| - taxonomy-category: dispatchable_production | ||
| output-id: non_proportional_cost | ||
| location-ports: balance_port | ||
| terms-operator: sum | ||
| time-operator: sum | ||
|
|
||
| - id: AVL.DTG # Can i directly use parameters? | ||
| terms: | ||
| - taxonomy-category: dispatchable_production | ||
| output-id: total_p_max | ||
| location-ports: balance_port | ||
| terms-operator: sum | ||
| time-operator: sum | ||
|
|
||
| - id: DTG.MRG | ||
| terms: | ||
| - taxonomy-category: dispatchable_production | ||
| output-id: up_margin | ||
| location-ports: balance_port | ||
| terms-operator: sum | ||
| time-operator: sum | ||
|
|
||
| - id: LOLD | ||
| terms: | ||
| - taxonomy-category: balance | ||
| output-id: is_loss_of_load | ||
| location-ports: null | ||
| terms-operator: sum | ||
| time-operator: sum | ||
|
|
||
| - id: LOLP | ||
| terms: | ||
| - taxonomy-category: balance | ||
| output-id: is_loss_of_load | ||
| location-ports: null | ||
| terms-operator: sum | ||
| time-operator: avg | ||
|
|
||
| - id: NP.CAP #TO DO : correct/confirm this one | ||
| terms: | ||
| - taxonomy-category: balance | ||
| output-id: near_price_capacity | ||
| location-ports: null | ||
| terms-operator: sum | ||
| time-operator: sum | ||
|
|
||
| - id: ROW.BAL #TO DO : correct/confirm this one | ||
| terms: | ||
| - taxonomy-category: fatal_production | ||
| output-id: row | ||
| location-ports: null | ||
| breakdown: | ||
| - key: technology | ||
| terms-operator: sum | ||
| time-operator: sum | ||
|
|
||
| - id: MISC.GEN #TO DO : correct/confirm this one | ||
| terms: | ||
| - taxonomy-category: fatal_production | ||
| output-id: generation | ||
| location-ports: null | ||
| breakdown: | ||
| - key: technology | ||
| terms-operator: sum | ||
| time-operator: sum | ||
|
|
||
| - id: MAX.MRG # Calulation from hour to hour can differ for this metric max-mrg-utilis.cpp in Simulator | ||
|
|
||
| - id: H.STOR #TO DO : correct/confirm this one | ||
| terms: | ||
| - taxonomy-category: hydro_production | ||
| output-id: hydro_generation | ||
| location-ports: null | ||
| terms-operator: sum | ||
| time-operator: sum | ||
|
|
||
| - id: H.PUMP #TO DO : correct/confirm this one | ||
| terms: | ||
| - taxonomy-category: hydro_production | ||
| output-id: hydro_pump | ||
| location-ports: null | ||
| terms-operator: sum | ||
| time-operator: sum | ||
|
|
||
| - id: H.OVFL #TO DO : correct/confirm this one | ||
| terms: | ||
| - taxonomy-category: hydro_production | ||
| output-id: hydro_overflow | ||
| location-ports: null | ||
| terms-operator: sum | ||
| time-operator: sum | ||
|
|
||
| - id: H.VAL #TO DO : correct/confirm this one | ||
| terms: | ||
| - taxonomy-category: hydro_production | ||
| output-id: hydro_value | ||
| location-ports: null | ||
| terms-operator: sum | ||
| time-operator: sum | ||
|
|
||
| - id: H.COST #TO DO : correct/confirm this one | ||
| terms: | ||
| - taxonomy-category: hydro_production | ||
| output-id: hydro_cost | ||
| location-ports: null | ||
| terms-operator: sum | ||
| time-operator: sum | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,69 @@ | ||
| catalog: | ||
|
|
||
| # TO DO : this catalog should be improved, correctness of the Metrics should be checked | ||
| # Remark for the case of CONG.FEE.ABS : We will probably need a new operator in the GEMS grammar: using ports exporting extra-outputs to other components. | ||
|
|
||
| id: antares_link_output | ||
|
|
||
| taxonomy: my_taxonomy | ||
|
|
||
| location: | ||
| taxonomy-category: link | ||
|
|
||
| metrics-definition: | ||
|
|
||
| - id: FLOW LIN. | ||
| terms: | ||
| - taxonomy-category: link | ||
| output-id: flow | ||
| location-ports: null | ||
| terms-operator: sum | ||
| time-operator: sum | ||
|
|
||
| - id: CONG.FEE.ABS | ||
| terms: | ||
| - taxonomy-category: link | ||
| output-id: congestion_fee_abs | ||
| location-ports: null | ||
| terms-operator: sum | ||
| time-operator: sum | ||
|
|
||
| - id: CONG.FEE.ALG | ||
| terms: | ||
| - taxonomy-category: link | ||
| output-id: congestion_fee_alg | ||
| location-ports: null | ||
| terms-operator: sum | ||
| time-operator: sum | ||
|
|
||
| - id: MRG.COST | ||
| terms: | ||
| - taxonomy-category: link | ||
| output-id: marginal_cost | ||
| location-ports: null | ||
| terms-operator: sum | ||
| time-operator: sum | ||
|
|
||
| - id: CONG.PROB.DIR | ||
| terms: | ||
| - taxonomy-category: link | ||
| output-id: congestion_prob_dir | ||
| location-ports: null | ||
| terms-operator: sum | ||
| time-operator: sum | ||
|
|
||
| - id: CONG.PROB.INDIR | ||
| terms: | ||
| - taxonomy-category: link | ||
| output-id: congestion_prob_indir | ||
| location-ports: null | ||
| terms-operator: sum | ||
| time-operator: sum | ||
|
|
||
| - id: HURD.COST | ||
| terms: | ||
| - taxonomy-category: link | ||
| output-id: hurdle_cost | ||
| location-ports: null | ||
| terms-operator: sum | ||
| time-operator: sum |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.