Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
142 commits
Select commit Hold shift + click to select a range
5cbc5eb
Update matsim version to 13.0-SNAPSHOT
Qinnnnn Oct 28, 2020
a235062
Update matsim version to 13.0-SNAPSHOT
Qinnnnn Jan 29, 2021
7098c13
Silo matsim with accident model
Qinnnnn Jan 29, 2021
4344a85
silo manchester sp preparation and allocation (household and person)
Qinnnnn Mar 15, 2021
431f89c
manchester SP generator(census + EHS data)
Qinnnnn Apr 22, 2021
aea160c
manchester SP IPU, allocation and job assignment
Qinnnnn May 19, 2021
972a86e
Merge branch 'master' into qin_injuryRisk
Qinnnnn May 19, 2021
a3344a3
adapt codes to new msm repo
Qinnnnn May 19, 2021
6e73ce8
push one missing unversioned file
Qinnnnn May 19, 2021
9a76e49
GLASST health model integration (includes physical activity, injury r…
Qinnnnn May 28, 2021
ce67b5f
GLASST health model integration (includes physical activity, injury r…
Qinnnnn May 28, 2021
8edf9e5
GLASST health model integration (includes physical activity, injury r…
Qinnnnn May 28, 2021
ffd22cc
Merge branch 'master' into manchesterSP
Qinnnnn May 28, 2021
2048898
manchester sp job allocation by commute flows
Qinnnnn May 31, 2021
7a6c061
Health model air pollutant module
Qinnnnn Jun 1, 2021
108890b
Fix bugs in health model and simplified the codes
Qinnnnn Jun 2, 2021
72b4e41
Fix bugs in health model and simplified the codes
Qinnnnn Jun 9, 2021
38d9cd9
Included physical activity, relative risks, and updated death model
CorinStaves Jun 16, 2021
9c4e8a9
Merge branch 'transportHealthIntegrationModel' of https://github.com/…
Qinnnnn Jun 17, 2021
b6b95d1
Add fatality risk in AccidentModel, fix calculation bugs in health model
Qinnnnn Jun 18, 2021
edb769c
Read trip files sequentially in order to save memory for 100% sp run
Qinnnnn Jun 28, 2021
ad85982
update manchester sp generator
Qinnnnn Jun 30, 2021
18e7fd3
Updated Health Indicator Calculations
CorinStaves Jul 1, 2021
bf69121
clean and fix bugs for health model
Qinnnnn Jul 2, 2021
daf7eac
Updated calculations for physical activity, air pollution, and relati…
CorinStaves Jul 11, 2021
00a6ad0
Merge remote-tracking branch 'upstream/transportHealthIntegrationMode…
CorinStaves Jul 11, 2021
0c0630b
clean and fix bugs for manchester sp
Qinnnnn Jul 13, 2021
3cd36f5
Updated air pollution calculations
CorinStaves Jul 18, 2021
b8ac70a
Minor bug fixes, clean-up, updated health indicator outputs
CorinStaves Aug 24, 2021
9a1380a
Add trucks
CorinStaves Sep 6, 2021
d7ad43c
Add trucks to air pollutant model.
Qinnnnn Sep 7, 2021
1667e16
final version of manchester synthetic population (base year 2019, mic…
Qinnnnn Oct 13, 2021
af788b3
Truck plans now adapt to day of week and scale factor. Simplified po…
CorinStaves Oct 20, 2021
d23340a
Changes in CheckHouseholdRelationship algorithm
Qinnnnn Feb 9, 2022
9da7135
GeoDataReaderManchester
Qinnnnn Feb 22, 2022
20865cf
Uses life table and updated sleep/rest ventilation rates
CorinStaves Feb 22, 2022
7207f55
Updated for MiD2017 B1 mode choice model and new air pollution RR fun…
CorinStaves Apr 1, 2022
0709985
Fixed typo in pollution exposure calculations
CorinStaves Apr 1, 2022
62a4108
Added job type
CorinStaves May 2, 2022
28be4b1
bunch of improvements for reducing memory usage of health simulation …
Qinnnnn Jul 5, 2022
d8941ed
manchester silo and matsim itegration
Qinnnnn Sep 20, 2022
a0e7ce5
Merge branch 'master' into manchesterSP
Qinnnnn Oct 11, 2022
da151f4
add matsim model for manchester and matsim scenario assembler for sim…
Qinnnnn Oct 12, 2022
898b6a7
Several changes:
Qinnnnn Jan 25, 2023
53ee8ab
Fix the bug in GenerateVacantDwellings
Qinnnnn Feb 2, 2023
8febf52
reoganized health related codes, moved to extensions/health
Qinnnnn Feb 27, 2024
9b112ba
manchester sp generator for JIBE, adapted to census 2021 data, multip…
Qinnnnn Sep 19, 2024
401ad31
Merge branch 'master' into transportHealthIntegrationModel_jibe
Qinnnnn Sep 19, 2024
862b812
Merge remote-tracking branch 'origin/manchesterSP_JIBE' into transpor…
Qinnnnn Sep 19, 2024
242d78f
initial commit for manchester transport and health model
Qinnnnn Sep 19, 2024
28f7f3b
restructure health extension
Qinnnnn Sep 19, 2024
57bcb2f
restructure health extension
Qinnnnn Sep 19, 2024
b1cd4d0
create manchester health scenario (data container, data builder,write…
Qinnnnn Sep 19, 2024
e4e6b21
Massive changes in health extension.
Qinnnnn Oct 1, 2024
3c271e0
Implement Health model for Manchester.
Qinnnnn Oct 3, 2024
70c0ba2
Massive changes for health disease model implementation
Qinnnnn Oct 7, 2024
e1805f2
fix bugs
Qinnnnn Oct 7, 2024
34a2d5d
update disease lists
Qinnnnn Oct 7, 2024
23a1dba
update disease lists
Qinnnnn Oct 8, 2024
abe6db4
update disease lists
Qinnnnn Oct 13, 2024
4a42017
change the folder structure in manchester use case
Qinnnnn Oct 16, 2024
8358a09
fix the issue in health disease model (issue of no dead state in the …
Qinnnnn Oct 16, 2024
436c56a
add through traffic
Qinnnnn Oct 22, 2024
84235a7
Implement Zonal level road traffic concentration in air pollutant model
Qinnnnn Oct 23, 2024
6451935
fix bugs in zonal level road traffic concentration calculation
Qinnnnn Oct 24, 2024
cb8f303
read in pop centroid coord of zones and modify the zonal level road t…
Qinnnnn Oct 24, 2024
dadb9a5
implement Manchester-specified zone
Qinnnnn Oct 24, 2024
db84ff8
Massive modification in exposure calculation
Qinnnnn Oct 25, 2024
12fdd28
Merge branch 'transportHealthIntegrationModel_jibe' of https://github…
Qinnnnn Oct 25, 2024
687ec74
update calculation in PA and AP exposure model
Qinnnnn Oct 25, 2024
559558a
change ap dispersion model timebin to 3600s
Qinnnnn Oct 25, 2024
d48dc9a
fix bugs in health exposure model
Qinnnnn Oct 26, 2024
7e9773a
update relative risk and health disease model
Qinnnnn Oct 27, 2024
fb083d2
update emission spatial dispersion, convert emission [g] to concentra…
Qinnnnn Oct 29, 2024
c97d003
fix the bug in dispersion model (10e6 --> 1e6)
Qinnnnn Oct 29, 2024
9b24d25
update disease and mortality prob calculation by applying relative risk
Qinnnnn Oct 30, 2024
c44e015
update base exposure data property
Qinnnnn Oct 30, 2024
faced2e
fix small bug in HealthExposuresReader
Qinnnnn Oct 30, 2024
63ded68
update health transition lookup by using 3 index (age, gender, locati…
Qinnnnn Nov 1, 2024
1530b9a
massive changes for running manchester longitudinal simulation
Qinnnnn Nov 4, 2024
6cf978c
changes in pom file for cloudsmith mito repo
Qinnnnn Nov 13, 2024
ab78372
fix a few issues in health model
Qinnnnn Nov 22, 2024
47460b1
Massive changes: update matsim dependency from 14.0 to 2025.0-PR3643
Qinnnnn Dec 28, 2024
da5cce1
update commons-io maven
Qinnnnn Jan 4, 2025
a22644e
fix bug: set network mode for vehicle types
Qinnnnn Jan 5, 2025
f9e14e7
Manchester Noise model
Qinnnnn Jan 5, 2025
8629b90
update air pollutant and noise model
Qinnnnn Jan 6, 2025
9090e94
matsim car simulation set AccessEgressType to none
Qinnnnn Jan 8, 2025
49da9a5
Physical activity intensity update
CorinStaves Jan 17, 2025
8722102
Physical activity update for downhill gradients
CorinStaves Jan 18, 2025
4cab1a1
update walk/bike simulation and exposure calculation
Qinnnnn Jan 19, 2025
daa59aa
add AWS maven and Manchester AWS runner
Qinnnnn Jan 19, 2025
33917e3
update gitignore
Qinnnnn Jan 19, 2025
2941357
update runner for AWS, upload scenOutput recursively
Qinnnnn Jan 21, 2025
9aaa30a
update runner for AWS, upload scenOutput recursively
Qinnnnn Jan 21, 2025
7062257
massive updates to make SILO avaliable as maven dependency on Cloudsmith
Qinnnnn Jan 23, 2025
3549c1b
update manchester sp: modify dwelling type, add Ethnic, add dwelling …
Qinnnnn Mar 2, 2025
f71757d
update manchester sp generator
Qinnnnn Mar 3, 2025
abffef9
fix the bug in ap link exposure calculation
Qinnnnn Mar 3, 2025
7b984e1
create mode-age-gender-speed specified matsim vehicle when calculate …
Qinnnnn Mar 3, 2025
5d0fde5
add properties for noise model
Qinnnnn Mar 3, 2025
678d719
update Manchester SP generator, generate job microlocation
Qinnnnn Mar 6, 2025
1658458
Merge branch 'transportHealthIntegrationModel_jibe' of https://github…
Qinnnnn Mar 6, 2025
0d8776a
a few updates:
Qinnnnn Mar 10, 2025
69ac411
fix bug in Munich health model
Qinnnnn Mar 10, 2025
868f703
test
Qinnnnn Mar 10, 2025
f266401
fix small bug in manchester exposure model
Qinnnnn Mar 10, 2025
eff1827
adapt the home exposure calculation to hourly based;
Qinnnnn Mar 10, 2025
23d0bdc
Update active travel disutility to not use freespeed
CorinStaves Mar 11, 2025
09f0d33
read in activity duration for exposure calculation
Qinnnnn Mar 19, 2025
43bdcbc
implement activity locations as exposure receiver points, including r…
Qinnnnn Mar 19, 2025
3ccd1b0
implement air pollutant concentration at building/activity location l…
Qinnnnn Mar 19, 2025
92d22fc
tidy up network file and properties
Qinnnnn Mar 19, 2025
d871e1c
add manchester school reader
Qinnnnn Mar 19, 2025
3d4d22c
fix an issue in Mito Data Converter: read in school start time only w…
Qinnnnn Mar 20, 2025
2be38a1
tidy up codes in noise model
Qinnnnn Mar 20, 2025
6e7dd11
Two major implementation:
Qinnnnn Mar 20, 2025
38ffb71
remove redundent properties
Qinnnnn Mar 21, 2025
2a976d4
fix an issue in health exposure model when normalize air pollutant ex…
Qinnnnn Mar 21, 2025
ee6706a
add code to implement home-based exposure assuming people are 24 hour…
Qinnnnn Mar 28, 2025
61899d9
fix some bugs for longitudinal simulation
Qinnnnn Mar 28, 2025
c308bc0
changing the dependencies of relocation strategies from the ones in t…
Qinnnnn Jul 29, 2025
654cad8
changing the dependencies of relocation strategies from the ones in t…
Qinnnnn Jul 29, 2025
653f4f2
changing the dependencies of relocation strategies from the ones in t…
Qinnnnn Jul 29, 2025
a1c7dde
disabled the work start time selection because this is a default info…
Qinnnnn Jul 29, 2025
fc8a087
updated the code for car ownership model (for both base and evolution…
Qinnnnn Jul 29, 2025
82cddb5
removed car ownership related models based on Java scripts for Berlin…
Qinnnnn Jul 29, 2025
beafe9f
tracked Berlin Brandenburg use case
Qinnnnn Jul 29, 2025
d44fb3f
added pom for Berlin Brandenburg use case
Qinnnnn Jul 29, 2025
c107824
repeatedtest
jakobrehmann Jul 29, 2025
b6ec85f
updated test script for debugging
jakobrehmann Jul 29, 2025
b71db4e
updated pom
jakobrehmann Jul 30, 2025
af078ef
modofied income distribution
Qinnnnn Jul 30, 2025
9b6869c
we have a version that doesn't fail after 400 tests
jakobrehmann Jul 30, 2025
5510634
another version that works
jakobrehmann Jul 30, 2025
6b36e3e
cleanup
jakobrehmann Jul 30, 2025
43fb1f3
Merge branch 'transportHealthIntegrationModel_jibe_baustelle' of http…
jakobrehmann Jul 30, 2025
c665414
minor changes to test
jakobrehmann Jul 31, 2025
c9d75ec
Merge pull request #365 from msmobility/transportHealthIntegrationMod…
jakobrehmann Jul 31, 2025
7a55d97
Merge branch 'master' into transportHealthIntegrationModel_jibe
jakobrehmann Jul 31, 2025
f153033
update test files & maven version in pom
jakobrehmann Jul 31, 2025
084a9c3
updated github ci files
jakobrehmann Jul 31, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'adopt' # See 'Supported distributions' for available options
java-version: '11'
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '21'
- name: Build with Maven
run: mvn test --fail-at-end --batch-mode -Dmatsim.preferLocalDtds=true
33 changes: 16 additions & 17 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,36 @@ name: Cloudsmith Deployment

on:
schedule:
- cron: '0 1 * * 1'


- cron: '0 1 * * 1'

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3

- name: Set up JDK 21 for build
uses: actions/setup-java@v4
with:
distribution: 'adopt' # See 'Supported distributions' for available options
java-version: '11'
distribution: 'temurin'
java-version: '21'
cache: 'maven'

- name: Build with Maven
run: mvn test -DforkMode=always --fail-at-end --batch-mode -Dmatsim.preferLocalDtds=true
- name: Set up Cloudsmith
uses: actions/setup-java@v2
with: # running setup-java again overwrites the settings.xml
distribution: 'adopt' # See 'Supported distributions' for available options
java-version: '11'
server-id: msm # Value of the distributionManagement/repository/id field of the pom.xml
server-username: CLOUDSMITH_USERNAME # env variable for username in deploy
server-password: CLOUDSMITH_TOKEN # env variable for token in deploy

- name: Set up JDK 21 for Cloudsmith (and configure server credentials)
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
server-id: msm
server-username: CLOUDSMITH_USERNAME
server-password: CLOUDSMITH_TOKEN

- name: Publish to Cloudsmith
run: mvn deploy -DskipTests=true --fail-at-end --batch-mode -Dmatsim.preferLocalDtds=true
env:
CLOUDSMITH_USERNAME: carlos-llorca
CLOUDSMITH_TOKEN: ${{ secrets.cloudsmithToken }}

5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ out
*.project
/bin/
*.settings/
/target/
**/target/
.idea/
*.iml
/Makefile
Expand All @@ -16,7 +16,8 @@ out
/timeTracker.csv
scenOutput
status.csv
test/output/*
**/test/output/*
**/test/scenarios/*
test/scenarios/annapolis/null_t.csv
*.DS_Store

Expand Down
17 changes: 8 additions & 9 deletions analysis/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>silo-parent</artifactId>
<groupId>de.tum.bgu.msm</groupId>
<groupId>de.tum.bgu.msm.silo</groupId>
<version>0.1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand All @@ -17,26 +17,25 @@

<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.1</version>
<type>jar</type>
<scope>provided</scope>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>de.tum.bgu.msm</groupId>
<groupId>de.tum.bgu.msm.silo</groupId>
<artifactId>siloCore</artifactId>
<version>0.1.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>de.tum.bgu.msm</groupId>
<groupId>de.tum.bgu.msm.silo</groupId>
<artifactId>munich</artifactId>
<version>0.1.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>de.tum.bgu.msm</groupId>
<groupId>de.tum.bgu.msm.silo</groupId>
<artifactId>kagawa</artifactId>
<version>0.1.0-SNAPSHOT</version>
<scope>compile</scope>
Expand Down
5 changes: 3 additions & 2 deletions analysis/src/main/java/sdg/SDGCalculator.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
import de.tum.bgu.msm.data.person.*;
import de.tum.bgu.msm.properties.Properties;
import de.tum.bgu.msm.util.MitoUtil;
import org.apache.log4j.Logger;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.locationtech.jts.geom.Coordinate;
import sdg.data.AnalyzedPerson;
import sdg.data.DataContainerSdg;
Expand All @@ -25,7 +26,7 @@

public class SDGCalculator {

private static Logger logger = Logger.getLogger(SDGCalculator.class);
private static Logger logger = LogManager.getLogger(SDGCalculator.class);
private Collection<Household> households = new ArrayList<>();
private Collection<Dwelling> dwellings = new ArrayList<>();
private Collection<Person> persons = new ArrayList<>();
Expand Down
10 changes: 5 additions & 5 deletions analysis/src/main/java/sdg/TransitStopBufferTak.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
import de.tum.bgu.msm.data.geo.DefaultGeoData;
import de.tum.bgu.msm.io.DwellingReaderTak;
import de.tum.bgu.msm.io.GeoDataReaderTak;
import org.geotools.api.feature.simple.SimpleFeature;
import org.geotools.api.referencing.FactoryException;
import org.geotools.api.referencing.crs.CoordinateReferenceSystem;
import org.geotools.api.referencing.operation.MathTransform;
import org.geotools.api.referencing.operation.TransformException;
import org.geotools.geometry.jts.JTS;
import org.geotools.referencing.CRS;
import org.locationtech.jts.geom.Coordinate;
Expand All @@ -18,11 +23,6 @@
import org.matsim.core.utils.gis.ShapeFileReader;
import org.matsim.pt.transitSchedule.TransitScheduleFactoryImpl;
import org.matsim.pt.transitSchedule.api.TransitStopFacility;
import org.opengis.feature.simple.SimpleFeature;
import org.opengis.referencing.FactoryException;
import org.opengis.referencing.crs.CoordinateReferenceSystem;
import org.opengis.referencing.operation.MathTransform;
import org.opengis.referencing.operation.TransformException;

import java.util.HashSet;
import java.util.Set;
Expand Down
1 change: 0 additions & 1 deletion analysis/src/main/java/sdg/reader/EventAnalysis.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ public Map<Integer, AnalyzedPerson> runEventAnalysis(String networkFileName, Str
CongestionEventHandler congestionEventHandler = new CongestionEventHandler(scenario.getNetwork());
eventsManager.addHandler(congestionEventHandler);
EventsUtils.readEvents(eventsManager,eventFileName);
System.out.println("1");
//new MatsimEventsReader(eventsManager).readFile(eventFileName);
return congestionEventHandler.getPersons();
}
Expand Down
5 changes: 3 additions & 2 deletions analysis/src/main/java/sdg/reader/TripReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
import de.tum.bgu.msm.data.Purpose;
import de.tum.bgu.msm.data.person.Person;
import de.tum.bgu.msm.utils.SiloUtil;
import org.apache.log4j.Logger;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import sdg.SDGCalculator;
import sdg.data.Trip;

Expand All @@ -17,7 +18,7 @@

public class TripReader {

private final static Logger logger = Logger.getLogger(TripReader.class);
private final static Logger logger = LogManager.getLogger(TripReader.class);

public void readData(String path, DataContainer dataContainer) {
logger.info("Reading trip data from mito trip csv");
Expand Down
68 changes: 68 additions & 0 deletions extensions/health/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>de.tum.bgu.msm.silo</groupId>
<artifactId>extensions</artifactId>
<version>0.1.0-SNAPSHOT</version>
</parent>

<artifactId>health</artifactId>
<dependencies>
<dependency>
<groupId>org.matsim.contrib</groupId>
<artifactId>accidents</artifactId>
<version>${matsimVersion}</version>
<exclusions>
<exclusion>
<groupId>javax.media</groupId>
<artifactId>jai_core</artifactId>
</exclusion>
<exclusion>
<groupId>jgridshift</groupId>
<artifactId>jgridshift</artifactId>
</exclusion>
<exclusion>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.matsim.contrib</groupId>
<artifactId>analysis</artifactId>
<version>${matsimVersion}</version>
</dependency>
<dependency>
<groupId>org.matsim.contrib</groupId>
<artifactId>emissions</artifactId>
<version>${matsimVersion}</version>
</dependency>
<dependency>
<groupId>org.matsim.contrib</groupId>
<artifactId>noise</artifactId>
<version>${matsimVersion}</version>
</dependency>
<dependency>
<groupId>org.matsim.contrib</groupId>
<artifactId>dvrp</artifactId>
<version>${matsimVersion}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>de.tum.bgu.msm.silo</groupId>
<artifactId>schools</artifactId>
<version>0.1.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>de.tum.bgu.msm.silo</groupId>
<artifactId>matsim2silo</artifactId>
<version>0.1.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
</dependencies>

</project>
Loading