Created
December 15, 2019 00:20
-
-
Save boutros/e2464236475fd544be5bdd5a6bb0a26a to your computer and use it in GitHub Desktop.
epd module test
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
> sudo apt install pipenv | |
> cd scratch | |
> pipenv install | |
> pipenv shell | |
> python3 | |
>>> import epd | |
>>> l = epd.list_all() | |
>>> len(l) | |
253 | |
>>> l2 = epd.list_query("sement") | |
>>> len(l2) | |
14 | |
>>> d = epd.fetch(l2[0]["uuid"]) | |
>>> from pprint import pprint as pp | |
>>> pp(d["processDataSet"]["processInformation"]) | |
OrderedDict([('dataSetInformation', | |
OrderedDict([('common:UUID', | |
'c12b2ae0-7daa-4159-9823-e6685d67add7'), | |
('name', | |
OrderedDict([('baseName', | |
OrderedDict([('@xml:lang', 'en'), | |
('#text', | |
'BASIS® cement')]))])), | |
('classificationInformation', | |
OrderedDict([('common:classification', | |
OrderedDict([('@name', 'EPDNorge'), | |
('common:class', | |
[OrderedDict([('@level', | |
'0'), | |
('@classId', | |
'f0167df9-d436-462f-9969-0234c152f514'), | |
('#text', | |
'Bygg')]), | |
OrderedDict([('@level', | |
'1'), | |
('@classId', | |
'6c50ed4d-b856-4318-a2ce-347aa003fe1f'), | |
('#text', | |
'Sement')])])]))])), | |
('common:generalComment', | |
OrderedDict([('@xml:lang', 'en'), | |
('#text', | |
'Data Quality:\r' | |
'Data concerning first level ' | |
'transforming activities (cement ' | |
'factory) have been obtained ' | |
'directly from the cement producer ' | |
'for the year 2015. Background ' | |
'processes, e.g. electricity ' | |
'generation, have been sourced from ' | |
'statistics provided, among others, ' | |
'by the Danish Ministry of Energy, ' | |
'for the year 2015. Also, the ' | |
'preparation of certain fuels has ' | |
'been approximated from scientific ' | |
'literature with a publication date ' | |
'within 5 years of the year 2015. ' | |
'Additional background processes ' | |
'have been modeled with the use of ' | |
'Ecoinvent v.3.2 LCI database, with ' | |
'a time validity span that covers ' | |
'the year 2015.\n' | |
'\n' | |
'Allocation:\r' | |
'The allocation is made in ' | |
'accordance with the provisions of ' | |
'EN 15804. The environmental burden ' | |
'associated to co-products used in ' | |
'the product system was defined ' | |
'either based on physical properties ' | |
'(energy or mass) when the ' | |
'difference in economic return ' | |
'between co-products is small, or on ' | |
'their economic values otherwise. ' | |
'For End-Of-Life waste used in the ' | |
'product system, the End-Of-Waste ' | |
'state starts with any necessary ' | |
'conditioning and preparation ' | |
'processes of the material to be ' | |
'suitable for reuse, as well as its ' | |
'supply.\n' | |
'\n' | |
'Cut-Off Criteria:\r' | |
'All major raw materials and all the ' | |
'essential energy flows are ' | |
'included. The1% cut-off rule does ' | |
'not apply for hazardous materials ' | |
'and substances: as such, all flows ' | |
'that have an environmetal ' | |
'significance are included. All ' | |
'solid waste emissions, including ' | |
'those that weight less than 1% of ' | |
'the sum of the masses of the ' | |
'inputs, are reported in the ' | |
'end-results. The only noticeable ' | |
'input that has been omitted is the ' | |
'water consumption at the slurry ' | |
'preparation level (it is not a net ' | |
'uptake of water from the freshwater ' | |
'network).')]))])), | |
('quantitativeReference', | |
OrderedDict([('@type', 'Reference flow(s)'), | |
('referenceToReferenceFlow', '1')])), | |
('time', | |
OrderedDict([('common:referenceYear', '2017'), | |
('common:dataSetValidUntil', '2022'), | |
('common:timeRepresentativenessDescription', | |
OrderedDict([('@xml:lang', 'en'), | |
('#text', | |
'06.10.2017 - 06.10.2022')]))])), | |
('geography', | |
OrderedDict([('locationOfOperationSupplyOrProduction', | |
OrderedDict([('@location', 'DK'), | |
('descriptionOfRestrictions', | |
OrderedDict([('@xml:lang', 'en'), | |
('#text', | |
'Markets: Norway / ' | |
'Europe')]))]))])), | |
('technology', | |
OrderedDict([('technologyDescriptionAndIncludedProcesses', | |
OrderedDict([('@xml:lang', 'en'), | |
('#text', | |
'Portland cement is made by heating, ' | |
'in a cement kiln, a mixture of raw ' | |
'materials (mainly limestone or ' | |
'chalk) to a calcining temperature ' | |
'of above 600 °C and then a fusion ' | |
'temperature, which is about 1,450°C ' | |
'to sinter the materials into ' | |
'clinker. To achieve the desired ' | |
'setting qualities in the finished ' | |
'product, a quantity of gypsum or ' | |
'anhydrite is added to the clinker ' | |
'and the mixture is finely ground to ' | |
'form the finished cement ' | |
'powder.')])), | |
('technologicalApplicability', | |
OrderedDict([('@xml:lang', 'en'), | |
('#text', | |
'Grey Portland cement (CAS-Nr. ' | |
'65997-15-1)\r' | |
'BASIS cement is a grey Portland ' | |
'limestone cement, strength class ' | |
'52.5 R. BASIS cement is ' | |
'characterized by a very high early ' | |
'strength and a high strength late ' | |
'(35% higher 1-day strength than ' | |
'RAPID cement and same 28-day ' | |
'strength).\n' | |
'\n' | |
'The main raw materials are chalk ' | |
'(CaCO3) and secondary materials ' | |
'like fly ash from production of ' | |
'heat and power.')])), | |
('referenceToTechnologyFlowDiagrammOrPicture', | |
OrderedDict([('@type', 'source data set'), | |
('@refObjectId', | |
'77e2be23-215d-4f8b-970c-ea17de06cd64'), | |
('@version', '00.00.001'), | |
('common:shortDescription', | |
OrderedDict([('@xml:lang', 'en'), | |
('#text', | |
'NEPD-1419-466-EN')]))]))]))]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment