Licitator 1.0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
13 KiB

5 years ago
  1. <script>
  2. function getLifeCycleData() {
  3. return JSON.parse("{\"raw\": [{\"id\":\"first-raw\", \"title\":\"Diversity of materials\",\"description\":\"Number of different typologies of materials involved in the product. In general, less is better.\"}, {\"id\":\"second-raw\", \"title\":\"Amount and type of materials\",\"description\":\"Weight and material properties of the materials involved in the product. The less material has to be used in a product, or the longer it lasts, the less resources will be consumed in the production process.\"}, {\"id\":\"third-raw\", \"title\":\"Ecological rucksack of materials\",\"description\":\"It is the total quantity of materials moved from nature to create a product or service, minus the actual weight of the product.\"}, {\"id\":\"fourth-raw\", \"title\":\"Renewability\",\"description\":\"A renewable resource is a natural resource which can be replenished over time, either through biological reproduction or other naturally recurring processes.\"}, {\"id\":\"fifth-raw\", \"title\":\"Recyclability\",\"description\":\"The potential to recycle a material, taking into account the difficulty to separate it from other materials, its intrinsic characteristics and its content of toxic substances, which can damage an organism.\"}, {\"id\":\"sixth-raw\", \"title\":\"Recycled content & Recovered components\",\"description\":\"The proportion, by mass, of recycled material in a product or packaging. Products, components or parts of a production or waste stream captured or separated for reuse (without processing, which would be recycling).\"}, {\"id\":\"seventh-raw\", \"title\":\"Biodegradability\",\"description\":\"The capability of being decomposed by biological agents, especially bacteria.\"}, {\"id\":\"eighth-raw\", \"title\":\"Material's availability\",\"description\":\"Geographical location from which materials are obtained; and/or amount of resources (materials) that are fundamental for the product provided left in nature. Some substances (materials) are already scarce. Local materials are desirable due to shorter distances.\"}], \"prod\": [{\"id\":\"first-prod\", \"title\":\"Process complexity\",\"description\":\"It refers to the level of intricateness of the production process. It can be simplified as the number of production processes (the less, the better).\"}, {\"id\":\"second-prod\", \"title\":\"Overall efficiency of production\",\"description\":\"It refers to the capability to produce the desired results without wasting inputs of any type (materials, time or energy):Energy efficiency refers to the percentage of total energy that is consumed in useful work and not wasted as useless heat.Water efficiency refers to ensure a production technology that produces the desired results without wasting water.Materials efficiency refers to produce the desired results without wasting materials, often using better technology.\"}, {\"id\":\"third-prod\", \"title\":\"Renewability of energy\",\"description\":\"A renewable resource is a natural resource which can replenish with the passage of time, either through biological reproduction or other naturally recurring processes.\"}, {\"id\":\"fourth-prod\", \"title\":\"Origin of energy\",\"description\":\"The origin of energy refers to the geographical location from which it is obtained. Local energy is desirable.\"}, {\"id\":\"fifth-prod\", \"title\":\"Waste generation and treatment\",\"description\":\"It refers to the amount of waste generated in the production processes and the way it is treated. Thus, it is a consequence of an inefficient use of resources in production.\"}, {\"id\":\"sixth-prod\", \"title\":\"Closed/Open production cycle\",\"description\":\"Open loop systems are of linear nature, in which resource and capital investments move through the system to become waste, whereas closed loop systems are those where wastes can become inputs for new processes.\"}, {\"id\":\"seventh-prod\", \"title\":\"Production - market location\",\"description\":\"It refers to the geographical distance between the production place and the market for the given product/service. Generally, the shor
  4. }
  5. function getKeyOfDataTable($title, $category) {
  6. $data = getLifeCycleData();
  7. $code = "Not found";
  8. $($data[$category]).each(function() {
  9. if(this.title == $title.replace("&amp;", "&")) {
  10. $code = this.id
  11. }
  12. });
  13. return $code;
  14. }
  15. </script>