{"id":13702852,"url":"https://github.com/mbonvini/LambdaSim","last_synced_at":"2025-05-05T06:32:31.145Z","repository":{"id":68007009,"uuid":"79421942","full_name":"mbonvini/LambdaSim","owner":"mbonvini","description":"Converts simulation models to REST APIs","archived":false,"fork":false,"pushed_at":"2017-03-27T04:52:33.000Z","size":6968,"stargazers_count":55,"open_issues_count":1,"forks_count":8,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-05-01T18:42:39.851Z","etag":null,"topics":["aws-apigateway","aws-lambda","fmi","python","rest-api"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mbonvini.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-01-19T06:17:21.000Z","updated_at":"2025-04-30T20:16:59.000Z","dependencies_parsed_at":"2023-03-21T21:32:53.112Z","dependency_job_id":null,"html_url":"https://github.com/mbonvini/LambdaSim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbonvini%2FLambdaSim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbonvini%2FLambdaSim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbonvini%2FLambdaSim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mbonvini%2FLambdaSim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mbonvini","download_url":"https://codeload.github.com/mbonvini/LambdaSim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252451967,"owners_count":21750015,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws-apigateway","aws-lambda","fmi","python","rest-api"],"created_at":"2024-08-02T21:00:44.316Z","updated_at":"2025-05-05T06:32:28.469Z","avatar_url":"https://github.com/mbonvini.png","language":"JavaScript","funding_links":[],"categories":["FMI 2"],"sub_categories":["Tools"],"readme":"# λ-Sim\n\nλ-Sim is a tool that converts simulation models into REST APIs.\nThe figure below gives an idea of what the tool does for you\n\n1. It takes a simulation model exported from Matlab or a Modelica\ntool and a JSON configuration file,\n3. It automatically generates a Lambda function that includes\na complete REST API to run the simulation model.\n\n![λ-Sim Schematic diagram](https://github.com/mbonvini/LambdaSim/raw/master/images/diagram.png)\n\nWith λ-Sim you can build a MaaS (Model as a Service) application where\npeople can access your model, run simulations and visualize results.\n\nλ-Sim is built on top of AWS [Lambda](https://aws.amazon.com/lambda/),\n[API-gateway](https://aws.amazon.com/api-gateway/), [S3](https://aws.amazon.com/s3/)\nand [Cloudwatch](https://aws.amazon.com/cloudwatch/).\nThese AWS services allows you to build an application that automatically manages\nsecurity updates, scale as needed based on the incoming traffic, monitor performances,\nand if necessary apply restrictions to users.\nAnd no charges when your code is not running.\n\nλ-Sim has a GUI available at [https://mbonvini.github.io/LambdaSim/](https://mbonvini.github.io/LambdaSim/).\nHere you can load APIs created with λ-Sim, simulate the models and visualize\nthe results.\n\nHave a look at these two examples created with λ-Sim\n\n- [Hello World](https://mbonvini.github.io/LambdaSim/?api=https://09r1151hxj.execute-api.us-west-2.amazonaws.com/prod/hello_world)\n- [Building Energy Model](https://mbonvini.github.io/LambdaSim/?api=https://0m43gmgny4.execute-api.us-west-1.amazonaws.com/prod/simple_building)\n\nFor information and documentation check out the [wiki](https://github.com/mbonvini/LambdaSim/wiki).\n\nFor comments and questions you can create an issue, contributions are\nwelcome.\n\n## Aknowledgements\n\nI's like to thank [Modelon](http://www.modelon.com) for making available their tools,\nwithout them this project wouldn't exist.\n\n## Disclaimer\n\nλ-Sim allows to create a REST API implemented on top of\nAmazon Web Services (AWS) such as\n- lambda\n- apigateway,\n- S3, and\n- cloudwatch\n\n**YOU MAY ENCOUNTER EXPENSES WHEN USING AWS SERVICE**\n\n\u003e By default λ-Sim makes your model open to the public, anyone will be able to\n\u003e access your model and therefore your account will\n\u003e be charged for the use of AWS services and resources required to serve the\n\u003e requests. I suggest you to carefully read and review AWS charges and policies.\n\u003e THE AUTHOR/S OF THIS PROJECT ARE NOT RESPONSIBLE IN ANY WAY FOR THE USE\n\u003e AND CHARGES OF AMAZON WEB SERVICES (AWS) ON YOUR ACCOUNT OR ANY THIRD PARTY\n\u003e ACCOUNT YOU USE. IT IS YOUR RESPONSIBILITY TO MONITOR THE EXPENSES\n\u003e AND TRACK THE USAGE OF YOUR API. USE THIS PROJECT AT YOUR OWN RISK.\n\nIf you're interested in limiting access to the REST API please have a\nlook at the AWS documentation\n[apigateway-control-access-to-api](http://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-control-access-to-api.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbonvini%2FLambdaSim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmbonvini%2FLambdaSim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmbonvini%2FLambdaSim/lists"}