Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DALSim
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Thibaut DEMARE
DALSim
Commits
68ec46ea
Commit
68ec46ea
authored
5 years ago
by
ThibautDemare
Browse files
Options
Downloads
Patches
Plain Diff
Don't use localWarehousingCosts for now (have to explore this a bit more)
parent
727ad83a
Branches
Branches containing commit
Tags
Tags containing commit
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
models/Observer.gaml
+3
-1
3 additions, 1 deletion
models/Observer.gaml
with
3 additions
and
1 deletion
models/Observer.gaml
+
3
−
1
View file @
68ec46ea
...
...
@@ -214,7 +214,9 @@ global {
localVolumeSum <- localVolumeSum + transportedVolumes[j];
j <- j + 1;
}
localAverageCosts <- localWarehousingCosts + localCostsSum / length(localTransportationCosts);
localAverageCosts <-
// localWarehousingCosts + // If this should be used, we first need to justify how warehousing costs are computed. For now, have higher costs for larger surface is not necessarily realistic.
localCostsSum / length(localTransportationCosts);
localVolumeNormalizedAverageCosts <- localAverageCosts / localVolumeSum;
sum <- sum + localAverageCosts;
i <- i + 1;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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