Skip to content

kleis-technology/lca-project-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LCA Project Sample

This is a sample project to show case the LCA DSL and the associated IntelliJ plugin.

Adds support for a new domain-specific language targeting Life Cycle Analysis experts. The following features are available :

  • EF 3.1 flows and characterization factors from the European Platform on Life Cycle Assessment
  • Description of processes, intermediary and elementary flows, with parameters.
  • Embedded inventory computation engine.
  • Code navigation.

Installation

  • Using IDE built-in plugin system:
    • Settings/Preferences > Plugins > Marketplace > Manage plugin repositories > Add https://plugins.jetbrains.com/plugins/alpha/list
    • Settings/Preferences > Plugins > Marketplace > Search for "life cycle analysis as code" > Install Plugin

LCA File type example

package carrot

process carrot_production {
    params {
        qElec = 3.0 kJ
    }

    products {
        1 kg carrot
    }

    inputs {
        qElec electricity
        3 l water
    }

    emissions {
        (57 percent*kg/kJ) * Qelec co2
    }
}

process electricity_production {
    products {
        1 kJ electricity
    }

    emissions {
        1.0 kg co2
    }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages