You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the generate() method of the EPR class in the models.epr module the documentation states that od_matrix is computed on the fly, while this is not performed in the code. In order for the EPR to work correctly, od_matrix has to be provided.
Documentation snippet:
od_matrix : numpy array or None, optional
the origin destination matrix to use for deciding the movements of the agent (element [i,j] is the probability of one trip from location with tessellation index i to j, normalized by origin location) (element [i,j] is the probability of one trip from location with tessellation index i to j, normalized by origin location). If None, it is computed "on the fly" during the simulation. The default is None.
Recommended solutions: require od_matrix to be provided or call compute_od_matrix() function within the generate() method.
The text was updated successfully, but these errors were encountered:
In the
generate()
method of theEPR
class in themodels.epr
module the documentation states thatod_matrix
is computed on the fly, while this is not performed in the code. In order for theEPR
to work correctly,od_matrix
has to be provided.Documentation snippet:
Recommended solutions: require
od_matrix
to be provided or callcompute_od_matrix()
function within thegenerate()
method.The text was updated successfully, but these errors were encountered: