-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from kleis-technology/feature/trusted-lib-ademe
feature/trusted lib ademe
- Loading branch information
Showing
69 changed files
with
2,053 additions
and
1,690 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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,4 @@ | ||
variables { | ||
timewindow = 1 hour | ||
maintenance_intensity = 0 man * working_day / month | ||
} |
This file contains 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
54 changes: 54 additions & 0 deletions
54
trusted_library/01-hardware/01-datacenter-mutualized/mutualized.lca
This file contains 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,54 @@ | ||
process mutualized_pool_fn { | ||
labels { | ||
phase = "embodied" | ||
} | ||
params { | ||
dc_id = "dc-01" | ||
lc_step = "manufacturing" | ||
} | ||
|
||
variables { | ||
dt = 1 hour | ||
mutualized_pool_id = "mutualized" | ||
dc = lookup dc_inventory match ( id = dc_id ) | ||
internal_power = sum( server_inventory match ( pool_id = mutualized_pool_id, dc_id = dc_id ), quantity * power ) | ||
+ sum( network_inventory match ( pool_id = mutualized_pool_id, dc_id = dc_id ), quantity * power ) | ||
+ sum( storage_inventory match ( pool_id = mutualized_pool_id, dc_id = dc_id ), quantity * power ) | ||
available_power = ( dc.reserved_power / dc.power_usage_effectiveness ) - internal_power | ||
} | ||
products { | ||
available_power * dt mutualized_pool | ||
} | ||
inputs { | ||
dt mutualized_server_pool from mutualized_server_pool( dc_id = dc_id, lc_step = lc_step ) match ( phase = "embodied" ) | ||
dt mutualized_network_pool from mutualized_network_pool( dc_id = dc_id, lc_step = lc_step ) match ( phase = "embodied" ) | ||
dt mutualized_storage_pool from mutualized_storage_pool( dc_id = dc_id, lc_step = lc_step ) match ( phase = "embodied" ) | ||
} | ||
} | ||
|
||
process mutualized_pool_fn { | ||
labels { | ||
phase = "use" | ||
} | ||
params { | ||
dc_id = "dc-01" | ||
} | ||
|
||
variables { | ||
dt = 1 hour | ||
internal_pool_id = "mutualized" | ||
dc = lookup dc_inventory match ( id = dc_id ) | ||
internal_power = sum( server_inventory match ( pool_id = internal_pool_id, dc_id = dc_id ), quantity * power ) | ||
+ sum( network_inventory match ( pool_id = internal_pool_id, dc_id = dc_id ), quantity * power ) | ||
+ sum( storage_inventory match ( pool_id = internal_pool_id, dc_id = dc_id ), quantity * power ) | ||
available_power = ( dc.reserved_power / dc.power_usage_effectiveness ) - internal_power | ||
} | ||
products { | ||
available_power * dt mutualized_pool | ||
} | ||
inputs { | ||
dt mutualized_server_pool from mutualized_server_pool( dc_id = dc_id ) match ( phase = "use" ) | ||
dt mutualized_network_pool from mutualized_network_pool( dc_id = dc_id ) match ( phase = "use" ) | ||
dt mutualized_storage_pool from mutualized_storage_pool( dc_id = dc_id ) match ( phase = "use" ) | ||
} | ||
} |
Oops, something went wrong.