Skip to content

Repo voor ZEnMo-Zero gebaseerde modellen van energiecooperaties voor het Local4Local project

Notifications You must be signed in to change notification settings

Zenmo/Local4Local

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Local4Local Coöperatie Configurator

"Een eerlijke prijs voor lokaal opgewekte stroom en warmte."

A financial and energy calculation tool for Energy Cooperatives.

Live tool: cooperatieconfigurator.local4local.nu
made by Zenmo

Repository components

anylogic Simulation code.
webtool Root of the webtool. Contains a Docker compose file to run locally.
├─ frontend SPA based on React and Vite.
Can build an artifact to embed in external website.
└─ gradle Gradle main project (nu.local4local) with sub projects:
   ├─ common DTOs and serialization logic shared between frontend, backend and AnyLogic.
   ├─ backend Webserver based on Kotlin and http4k.
   └─ /client Library to connect from AnyLogic.

Local environment

Webtool

1. cd to webtool

2. Copy ngrok.example.env to ngrok.env and optionally fill it out.

3. Install dependencies:

docker compose run --rm gradle-js
docker compose run --rm npm-base 

4. Run components:

docker compose up -d backend frontend

AnyLogic

Ensure client library is up-to-date

cd webtool
docker compose run --rm gradle-client-shadowjar

Alternatively:

cd webtool
./gradlew[.bat] client:shadowJar

About

Repo voor ZEnMo-Zero gebaseerde modellen van energiecooperaties voor het Local4Local project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •