1 / 5

Overview of the .CHARON Toolkit for Modeling and Simulation at the University of Pennsylvania

This guide provides a step-by-step construction and analysis of a model using the .CHARON toolkit, developed at the University of Pennsylvania. It covers starting a new project, writing and incorporating a model, and building a simple thermostat model with specific parameters. The documentation includes simulation and analysis techniques, reachability analysis, and conversion to flat models. By following these steps, users can effectively utilize the .CHARON toolkit to design and analyze their own models, enhancing their understanding of simulation processes.

Télécharger la présentation

Overview of the .CHARON Toolkit for Modeling and Simulation at the University of Pennsylvania

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CHARON toolkit overview DIVES Team University of Pennsylvania

  2. Outline • Step-by-step construction and analysis of a model • Starting a project • Writing a model • Simulation and analysis • Overview of the V2V model

  3. Starting a project • Select New Project from the File menu • Enter a name for the project directory • Directory thermostat • File thermostat.prj • Write the model in the editor, save in the project directory • Use Add Files from the Project menu to incorporate the model into the project • Use Build Model from the Project menu

  4. Simple model: thermostat • Single agent (no concurrency) • Three modes • Two continuous variables • Parameters: low, high, ε initial values: temp = 5.5 clock = 0 heat temp ≥ high-ε cool d(temp) = 2 d(temp) = -temp temp ≤ low+ε temp≤high & clock ≤3 temp≥low clock ≥ 2 clock:=0 clock:=0 d(clock) = 1 check clock ≤ 0.5 d(temp) = -temp/2 clock ≤1

  5. Model analysis • Simulation • Generate simulator (Simulate menu) • Configure simulation display (optional) • Start simulation • Reachability analysis • Convert to flat model (Check>Reachability>Convert menu) • Add initial region, “bad” region, and predicates • Start the reachability tool

More Related