Skip to content

Commit

Permalink
examples: init complex-pipeline sample.
Browse files Browse the repository at this point in the history
  • Loading branch information
narekhovhannisyan committed Sep 8, 2023
1 parent 8d66a4e commit d170c04
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions examples/impls/complex-pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: gsf-demo-pipeline
description:
More complex pipeline example
tags:
kind: web
complexity: moderate
category: cloud
initialize:
models:
- name: teads-curve
kind: builtin
- name: sci-m
kind: builtin
- name: sci-o
kind: builtin
graph:
children:
front-end:
pipeline:
- teads-curve
- sci-o
config:
teads-curve:
tdp: 1
observations:
- timestamp: 2023-07-06T00:00 # [KEYWORD] [NO-SUBFIELDS] time when measurement occurred
processor: Intel® Core™ i7-1185G7
duration: 3600 # Secs
tdp: 28 # W
cpu-util: 18.392
grid-ci: 951 # gCO2e/kWh
- timestamp: 2023-08-06T00:00 # [KEYWORD] [NO-SUBFIELDS] time when measurement occurred
processor: Intel® Core™ i7-1185G7
duration: 3600 # Secs
tdp: 20 # W
cpu-util: 16
grid-ci: 800 # gCO2e/kWh
back-end:
pipeline:
- teads-curve
- sci-o
- sci-m
config:
sci-m:
te: 350 # kgCO2eq
tir: "duration" # get this value from the duration field
el: 126144000 # 4 years in seconds
rr: 1
tor: 1
teads-curve:
tdp: 1
observations:
- timestamp: 2023-07-06T00:00 # [KEYWORD] [NO-SUBFIELDS] time when measurement occurred
processor: Intel® Core™ i7-1185G7
duration: 3600 # Secs
tdp: 28 # W
cpu-util: 18.392
grid-ci: 951 # gCO2e/kWh
- timestamp: 2023-08-06T00:00 # [KEYWORD] [NO-SUBFIELDS] time when measurement occurred
processor: Intel® Core™ i7-1185G7
duration: 3600 # Secs
tdp: 20 # W
cpu-util: 16
grid-ci: 800 # gCO2e/kWh

0 comments on commit d170c04

Please sign in to comment.