Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new block to CDL #825

Closed
4 tasks done
JayHuLBL opened this issue Jun 28, 2017 · 1 comment
Closed
4 tasks done

Add new block to CDL #825

JayHuLBL opened this issue Jun 28, 2017 · 1 comment
Assignees

Comments

@JayHuLBL
Copy link
Contributor

JayHuLBL commented Jun 28, 2017

This issue intends to add new blocks into CDL:

  • block CDL.Logical.HysteresisWithHold: e.g. for lighting / shading control / freezeProtection where actions need to be hold for certain amount time, and the noise in the input signal should not cause the system unstable.
  • block CDL.Continuous.MovingMean to calculate the sliding window average: e.g. damper control based on measured pressure -- the moving average value would eliminate potential system unstable caused by the signal noise.
  • block CDL.Continuous.MultiSum: computes sum of the real inputs. The input vector is enlarged automatically along with the increase of the input connection.
  • block CDL.Logical.MultiAnd: output the true if all inputs are true. The input vector is enlarged automatically along with the increase of the input connection.
@JayHuLBL JayHuLBL self-assigned this Jun 28, 2017
JayHuLBL added a commit that referenced this issue Jun 30, 2017
JayHuLBL added a commit that referenced this issue Jun 30, 2017
JayHuLBL added a commit that referenced this issue Jul 5, 2017
mwetter added a commit that referenced this issue Jul 6, 2017
mwetter added a commit that referenced this issue Jul 6, 2017
Changed name of output from on to y, as for some control such as a
window opening, on does not make sense.
For #825
@JayHuLBL
Copy link
Contributor Author

All the four block have been added to CDL library. This close #825.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants