Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • E escet
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
    • Locked files
  • Issues 101
    • Issues 101
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Eclipse ProjectsEclipse Projects
  • Eclipse ESCET (Supervisory Control Engineering Toolkit)
  • escet
  • Issues
  • #39

Fix ElimCompDefInst for nested parameters

The CIF eliminate component def/inst transformation crashes for the following CIF specification:

plant def sensor():
    uncontrollable u_on;
    location off:
        initial; marked;
        edge u_on;
end

group def G():
    S : sensor();
end

System : G();

plant def O(sensor s):
    location absent:
	initial; marked;
	edge s.u_on;
end

S_hybrid : O(System.S);

When S_hybrid is instantiated, it needs System.S as a parameter, if System is not yet instantiated, then for s.u_on a CompInstWrapExpression (System, S.u_on) should be created, to replace the original CompParamWrapExpression (s, u_on). However, the transformation assumes such cases do not exist. A similar problem exists for CompParamWrapTypes.

Edited Apr 10, 2021 by Ferdie Reijnen
Assignee
Assign to
Time tracking

Copyright © Eclipse Foundation, Inc. All Rights Reserved.     Privacy Policy | Terms of Use | Copyright Agent