Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Sampling-Based Abstractions
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Thom Badings
Sampling-Based Abstractions
Commits
0b00f323
Commit
0b00f323
authored
2 years ago
by
Thom Badings
Browse files
Options
Downloads
Patches
Plain Diff
added one more size to temp.control benchmark
parent
1b74f762
No related branches found
Branches containing commit
No related tags found
1 merge request
!2
Merged
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
core/model_definitions.py
+1
-1
1 addition, 1 deletion
core/model_definitions.py
core/spec_definitions.py
+7
-0
7 additions, 0 deletions
core/spec_definitions.py
with
8 additions
and
1 deletion
core/model_definitions.py
+
1
−
1
View file @
0b00f323
...
...
@@ -407,7 +407,7 @@ class building_1room(master.LTI_master):
master
.
LTI_master
.
__init__
(
self
)
# Let the user make a choice for the model dimension
_
,
self
.
scenario
=
ui
.
user_choice
(
'
Select the model size to run
'
,[
'
Small
'
,
'
Medium
'
,
'
Large
'
,
'
Very large
'
])
_
,
self
.
scenario
=
ui
.
user_choice
(
'
Select the model size to run
'
,[
'
15x25
'
,
'
25x35
'
,
'
35x45
'
,
'
50x70
'
,
'
100x140
'
])
# Number of time steps to lump together (can be used to make the model
# fully actuated)
...
...
This diff is collapsed.
Click to expand it.
core/spec_definitions.py
+
7
−
0
View file @
0b00f323
...
...
@@ -161,6 +161,13 @@ class building_1room_spec(master.spec_master):
'
default
'
:
np
.
array
([[
-
.
05
,
.
05
],
[
-
.
15
,
.
15
]]),
}
elif
scenario
==
3
:
self
.
partition
[
'
number
'
]
=
[
100
,
140
]
self
.
error
[
'
max_control_error
'
]
=
{
'
default
'
:
np
.
array
([[
-
.
03
,
.
03
],
[
-
.
1
,
.
1
]]),
}
width
=
(
self
.
partition
[
'
boundary
'
][:,
1
]
-
self
.
partition
[
'
boundary
'
][:,
0
])
/
self
.
partition
[
'
number
'
]
# Actions per dimension (if 'auto', equal to nr of regions)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment