Skip to content

Commit

Permalink
* Adapt the limits in the fuzzy controller, #47
Browse files Browse the repository at this point in the history
  • Loading branch information
MBaranskiEBC committed May 1, 2019
1 parent bc76d40 commit 00401c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyDMPC/ControlFramework/functions/fuzzy.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ def control(temp,delt):
# Only the critical points are included here; making it higher resolution is
# unnecessary.
universe = np.linspace(-2, 2, 5)
universe_temp = np.linspace(280, 310, 5)
universe_out = np.linspace(280, 310, 5)
universe_temp = np.linspace(290, 310, 5)
universe_out = np.linspace(290, 310, 5)

# Create the three fuzzy variables - two inputs, one output
temperature = ctrl.Antecedent(universe_temp, 'temperature')
Expand Down

0 comments on commit 00401c0

Please sign in to comment.