Skip to content

Provide a warning for unused actuators #10944

Closed

Description

@Myoldmopar

General Summary

I debugged a file for quite a while due to weird behavior, only to have the error be a typo in an EMS program.

Detailed Description

There was an actuator named A1. Inside the program there was a SET Al = 2. But because of the typo, the Al variable was just a local variable that was never used. And the actuator was never assigned.

Possible Implementation

A simple flag on each actuator declared in the IDF to check if it was ever assigned seems sufficient. Then at the end of the simulation, a warning could be emitted for any never-assigned actuators.

As an aside, if this was done in Python, then the typo would have caused a failure when looking up the actuator handle, so this is moot there. It may not be worth adding this as we want to nudge people toward the Python side, but it would still be a light lift.

Activity

  1. added
    NewFeatureRequestThis "issue" is a new feature request, not a defect report
    TriageIssue needs to be assessed and labeled, further information on reported might be needed
    on Feb 18, 2025
  2. self-assigned this
    on Apr 14, 2026
  3. added 2 commits that reference this issue on Apr 14, 2026
  4. added a commit that references this issue on Apr 14, 2026
    2469735
  5. removed
    TriageIssue needs to be assessed and labeled, further information on reported might be needed
    on Apr 14, 2026
  6. added 4 commits that reference this issue on Apr 14, 2026
    e91fc19
    ce2d864
    cc9bca0
    0c0130a
  7. added a commit that references this issue on Apr 22, 2026
    35b4876
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

NewFeatureRequestThis "issue" is a new feature request, not a defect report

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions