-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RunComputeEmissionsEvents #167
Comments
looking at your issue on matsim-libs matsim-org/matsim-libs#2453 and looking at WarmEmissionAnalysisModule.java:171, it seems that your HBEFA export is the culprit. Di you follow this https://www.matsim.org/apidocs/emissions/0.7.0/org/matsim/contrib/emissions/package-summary.html but for HBEFA 4 ? |
Thanks @Nitnelav, I use hbefa 4.2 which doesn't contain some data such as the size class etc.. really it's not so easy. |
looking back at #159 (comment) |
yeah, I already fixed this problem. If I use hbefa 3.3 instead of hbefa 4.2, in the TrafficScenario REF F HB42 will change to BAU F HB33, do you think it can happen the error? |
No I don't think so... in #159 (comment) you show your cold detailed file, can you show the first line of your hot detailed one ? |
I used hbefa 3.3 to fill the size classe column, so it's my hot detailed: Case;VehCat;Year;TrafficScenario;Component;RoadCat;TrafficSit;Gradient;IDSubsegment;Subsegment;Technology;SizeClasse;EmConcept;KM;%OfSubsegment;V;V_0%;V_100%;EFA;EFA_0%;EFA_100%;V_weighted_0%;V_weighted_100%;V_weighted_100%;EFA_weighted;EFA_weighted_0%;EFA_weighted_100%;AmbientCondPattern 2015_hot_detailed[3.3];pass. car;2010;;HC;;RUR/MW/80/Freeflow;0%;121220;PC diesel 1,4-<2L Euro-2;diesel;1,4-<2L;PC D Euro-2;50000;1;82.8059616088867;;;0.0275500006973743;;;;;;;;;ØFrance(Lille) 2015_hot_detailed[3.3];pass. car;2010;;HC;;RUR/MW/80/Freeflow;0%;121221;PC diesel 1,4-<2L Euro-2 (DPF);diesel;1,4-<2L;PC D Euro-2;50000;1;82.8059616088867;;;0.0275500006973743;;;;;;;;;ØFrance(Lille) and cold_detailed by hbefa 3.3 is: Case;VehCat;Year;TrafficScenario;Component;RoadCat;AmbientCondPattern;IDSubsegment;Subsegment;Technology;SizeClasse;EmConcept;KM;%OfSubsegment;EFA;EFA_weighted;EFA_km;EFA_km_weighted 2015_cold_detailed[3.3];pass. car;2010;;HC;;TØ,0-1h,0-1km;111100;PC petrol <1,4L <ECE;petrol (4S);<1,4L;PC P Euro-0;50000;1;1.71316540241241;;;; 2015_cold_detailed[3.3];pass. car;2010;;HC;;TØ,0-1h,0-1km;111101;PC petrol <1,4L ECE-15'00;petrol (4S);<1,4L;PC P Euro-0;50000;1;1.71316540241241;;;; |
I don't know for version 3.3. for version 4.2, are you using the same parameters as me here #159 (comment) ? If not what are the differences ? |
ok well, try using only 2015 for all your exports and then try removing pollutants one b one to see if anything works, in the end if you mach my exports it should work.. |
Thank you @Nitnelav for taking the time, I will do that, did you select all speed limit in individual TrafficSituations? |
I just checked I have all conditions selected, |
ok, Many thanks |
Hello @Nitnelav, I've successfully finished it. Now, I have the emissions events file. Many thanks for your support. In RunComputeEmissionsGrid, could please let me know in --domain-shp-path, idf_2154.shp means the emission network shp that in RunExportEmissionsNetwork have been created? or it's shp file of IL-de-france? Thanks |
Ah, I didn't see your edit... |
Thanks @Nitnelav |
Hello everyone. Some help would be appreciated. I'm struggling with running RunComputeEmissionsEvents, how can i solve this problem (inconsistent), i'm really confused.
2023-03-28T10:43:30,986 INFO Injector:96
2023-03-28T10:43:30,986 INFO Injector:99 === printInjector end ===
2023-03-28T10:43:30,989 INFO EmissionModule:141 entering createLookupTables
2023-03-28T10:43:34,668 INFO EmissionModule:156 leaving createLookupTables
2023-03-28T10:43:34,795 INFO EmissionModule:196 entering createEmissionHandlers
Exception in thread "main" com.google.inject.ProvisionException: Unable to provision, see the following errors:
Error injecting constructor, java.lang.RuntimeException: inconsistent
at org.matsim.contrib.emissions.EmissionModule.(EmissionModule.java:65)
while locating org.matsim.contrib.emissions.EmissionModule
1 error
at com.google.inject.internal.InternalProvisionException.toProvisionException(InternalProvisionException.java:226)
at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1053)
at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1086)
at org.eqasim.ile_de_france.emissions.RunComputeEmissionsEvents.main(RunComputeEmissionsEvents.java:72)
Caused by: java.lang.RuntimeException: inconsistent
at org.matsim.contrib.emissions.WarmEmissionAnalysisModule.(WarmEmissionAnalysisModule.java:171)
at org.matsim.contrib.emissions.WarmEmissionHandler.(WarmEmissionHandler.java:80)
at org.matsim.contrib.emissions.EmissionModule.createEmissionHandlers(EmissionModule.java:200)
at org.matsim.contrib.emissions.EmissionModule.(EmissionModule.java:74)
at org.matsim.contrib.emissions.EmissionModule$$FastClassByGuice$$3f5bb797.newInstance()
at com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance(DefaultConstructionProxyFactory.java:89)
at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:114)
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:91)
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:306)
at com.google.inject.internal.InjectorImpl$1.get(InjectorImpl.java:1050)
... 2 more
The text was updated successfully, but these errors were encountered: