Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • T TaRDIS-DCR
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Departamento de Informática
  • Research
  • TaRDISTaRDIS
  • WP3
  • TaRDIS-DCR
  • Wiki
  • Dcr choreographies
  • Simple EDP Use Case

Simple EDP Use Case · Changes

Page history
Create DCR Choreographies/Simple EDP Use Case authored Oct 18, 2024 by Diogo Ye's avatar Diogo Ye
Hide whitespace changes
Inline Side-by-side
DCR-Choreographies/Simple-EDP-Use-Case.md 0 → 100644
View page @ 8b6e6673
# Overview
To complement the other [Use Case](DCR Choreographies/EDP Use Case), we present a scenario where the Orchestrator (the entity that manages the Community) can request information on how much energy the producers will generate in the next period, calculate the total available energy, and update the Community Orchestrator's records accordingly.
```ruby
# roles
P(Number)
O(Number)
Z
;
# security lattice / information flow
Z flows Z
P flows P
O flows O
;
# computation events
(oInfo:Info) (Z;Z) ['Manager'] [O(0)]
# interaction and input events
(rpf:requestProductionForecast) (Z;Z) [? ] [O(0) -> P(0), P(1), P(2)]
(acc:accountingCommunity) (Z;Z) [?: {kw:Number}] [O(0)]
(gpf_1: generateProductionForecast) (Z;Z) [?: {kw:Number}] [P(1) -> O(0)]
(gpf_2: generateProductionForecast) (Z;Z) [?: {kw:Number}] [P(2) -> O(0)]
(gpf_3: generateProductionForecast) (Z;Z) [?: {kw:Number}] [P(3) -> O(0)]
;
rpf *--> gpf_1
rpf *--> gpf_2
rpf *--> gpf_3
rpf *--> acc
gpf_1 *--> acc
gpf_2 *--> acc
gpf_3 *--> acc
gpf1 --><> acc
gpf2 --><> acc
gpf3 --><> acc
```
\ No newline at end of file
Clone repository
  • DCR Choreographies
    • EDP Use Case
    • Simple EDP Use Case
  • Prototype
  • Home