Skip to content

Commit

Permalink
Capped maximum effect of car volume at +-5
Browse files Browse the repository at this point in the history
  • Loading branch information
s-hiitola committed Jun 3, 2024
1 parent 425981f commit ff0648f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/parameters/assignment.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
+" (el1.gt.0) * (1.3 * el1))).min.({}*1.5)))")
vdf_bikes_baana = ("length*(60/((3.max.({} + (el1.lt.0) * (1.56 * el1) +"
+" (el1.gt.0) * (1.3 * el1))).min.35))")
vdf_bikes_mixed_lane = "(length * (60/((3.max.({flat} + (el1.lt.0) * (1.56 * el1) + (el1.gt.0) * (1.3 * el1)) + {vol}).min.({flat}*1.5))))"
vdf_bikes_mixed_lane = "(length * (60/((3.max.({flat} + (el1.lt.0) * (1.56 * el1) + (el1.gt.0) * (1.3 * el1)) + (-5).max.{vol}.min.5).min.({flat}*1.5))))"

b_volume_mixed = "(-1.962 * ln(4*(volau+volad+10)/1000) * 0.689)"
b_volume_lane = "(-1.962 * ln(4*(volau+volad+10)/1000) * 0.807)"
Expand Down

0 comments on commit ff0648f

Please sign in to comment.