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

373 cement production #2491

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all 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
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"title": "Cement Production",
"type": "object",
"properties": {}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"type": "object",
"title": "Calcination of limestone, shale, sand, slag or other raw materials used to produce clinker, as well as the oxidization of organic carbon in the raw material",
"properties": {
"emissions": {
"title": "Emission Data",
"type": "array",
"items": {
"type": "object",
"properties": {
"gasType": {
"title": "Gas type",
"type": "string",
"enum": []
},
"emission": {
"title": "Emissions (tonnes)",
"type": "number"
},
"equivalentEmission": {
"title": "Equivalent emissions (tC02e)",
"type": "number",
"readOnly": true,
"default": "Value will be computed upon saving"
},
"timesMissingDataProceduresWereFollowed": {
"title": "Number of times in the reporting year that missing data procedures were followed",
"type": "number"
}
}
}
}
}
}
52 changes: 52 additions & 0 deletions bc_obps/reporting/migrations/0008_prod_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,8 @@ def init_methodology_data(apps, schema_monitor):
Methodology(name='Emissions Factor Methodology'),
Methodology(name='WCI.203(f)(1)'),
Methodology(name='WCI.203(f)(2)'),
Methodology(name='Calcination Emissions'),
Methodology(name='Oxidation Emissions'),
]
)

Expand Down Expand Up @@ -608,6 +610,8 @@ def reverse_init_methodology_data(apps, schema_monitor):
'Emissions Factor Methodology',
'WCI.203(f)(1)',
'WCI.203(f)(2)',
'Calcination Emissions',
'Oxidation Emissions',
]
).delete()

Expand Down Expand Up @@ -689,6 +693,41 @@ def init_reporting_field_data(apps, schema_monitor):
field_name='Annual Weighted Average Molecular Weight', field_type='number', field_units=None
),
ReportingField(field_name='Molar Volume Conversion Factor', field_type='number', field_units=None),
ReportingField(field_name='Month', field_type='string', field_units=None),
ReportingField(field_name='Clinker Production (t)', field_type='number', field_units=None),
ReportingField(field_name='Emission Factor (t CO2/t clinker)', field_type='number', field_units=None),
ReportingField(
field_name='Total Calcium Content of Clinker (weight fraction)', field_type='number', field_units=None
),
ReportingField(
field_name='Total Magnesium Content of Clinker (weight fraction)', field_type='number', field_units=None
),
ReportingField(
field_name='Non-calcined Calcium oxide content of Clinker (weight fraction)',
field_type='number',
field_units=None,
),
ReportingField(
field_name='Non-calcined Magnesium oxide content of Clinker (weight fraction)',
field_type='number',
field_units=None,
),
ReportingField(
field_name='Quantity of non-carbonate raw materials entering the kiln (tonnes)',
field_type='number',
field_units=None,
),
ReportingField(field_name='Quarter', field_type='string', field_units=None),
ReportingField(
field_name='Quantity of CKD not recycled back to kilns (t)', field_type='number', field_units=None
),
ReportingField(field_name='Emission Factor (t CO2/t CKD)', field_type='number', field_units=None),
ReportingField(field_name='Amount of raw material consumed (t)', field_type='number', field_units=None),
ReportingField(
field_name='Raw material organic carbon content (weight fraction)',
field_type='number',
field_units=None,
),
]
)

Expand Down Expand Up @@ -717,6 +756,19 @@ def reverse_init_reporting_field_data(apps, schema_monitor):
'Annual Weighted Average Carbon Content',
'Annual Weighted Average Molecular Weight',
'Molar Volume Conversion Factor',
'Month',
'Clinker Production (t)',
'Emission Factor (t CO2/t clinker)',
'Total Calcium Content of Clinker (weight fraction)',
'Total Magnesium Content of Clinker (weight fraction)',
'Non-calcined Calcium oxide content of Clinker (weight fraction)',
'Non-calcined Magnesium oxide content of Clinker (weight fraction)',
'Quantity of non-carbonate raw materials entering the kiln (tonnes)',
'Quarter',
'Quantity of CKD not recycled back to kilns (t)',
'Emission Factor (t CO2/t CKD)',
'Amount of raw material consumed (t)',
'Raw material organic carbon content (weight fraction)',
]
).delete()

Expand Down
Loading