Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [stem-dev] VIRUSVESZELY!!! - Pajek graph- specifying dates and rates

Dear All, 
We also had some problem with the Pajek graph, especially when we made with LibreOffice template, it did not work, so we made the Pajek graph with Knime. We used the form found on the website (
*Vertices 3
1 Berlin 1 1 popID men popCount 100 popID women popCount 110
2 Bonn 1.5 1 popID men popCount 100 popID women popCount 110
3 Germany 1.2 1.2
1 2 popID men rate 0.1
2 1 popID women rate 0.2
3 1 
In that way it’s seemed to be work, but we think not a proper way. We noticed some movements, but it wasn’t as much as it could be. We noticed some disease spread between nodes, but based on data and parameters it should be more and more. We tried a small Pajek file firstly and it was OK, but when we tried with much more larger network it “failed”.
And for last but not least we also would like to connect to each other the Pajek file ( pig movements) and the shape file (wild boar population density), but yet it is not solved. So we also noticed some errors with a Pajek, what is noticed by Emily and we also have a question according to Pajek and shape files. 
We also will be on the STEM phone call on Thursday. 

Best wishes, 


Dr. Engelhardt Tekla

Nemzeti Élelmiszerlánc-biztonsági Hivatal
Rendszerszervezési és Felügyeleti Igazgatóság
Tervezési Osztály

1024 Budapest, Kis Rókus utca 15/B.


National Food Chain Safety Office
System Management and Supervision Directorate

H-1024 Budapest, Kis Rókus utca 15/B.

On 2018. September 21. at 17:33:21, Nixon Emily (emily.nixon@xxxxxxxxxxxxx) wrote:

Hi all,

I'm now in the final year of my PhD and realised that I urgently need to make a change in my model by using a feature in the pajek graphs that I haven't before. 

My pajek graphs so far have never included the optional parameters specified on the wiki:

Optional parameters:

  • date - specification a of date at which the migration rate is different from the standard value specified in the obligatory parameters. ISO 8601 standard is used (YYYY-MM-DD). This parameter may be used repeatedly.
  • rate - migration rate for the specified date. This parameter may be used repeatedly. The associated date is the last mentioned one.

I've made a dummy pajek graph to test using these optional parameters. However, even though I've specified them, they don't seem to be implemented. 

I first noticed this in my Marketdummy1 scenario, where I specified much higher rates than the baseline rate on particular dates (this is what I'm planning on doing in my model). I would expect that on the specified dates, more sheep would move between certain nodes than on a normal date, but this didn't seem to be happening. 

In Marketdummy2A, I've tried specifying really high rates (e.g. 1 which I think is the maximum), just on the specified days and then have no baseline rate. If it was working, then I would expect there to only be movements on the specified dates. However, there are no movements between nodes at all. 

In case the value "1" was too high to use multiple times, I made the baseline zero again and then this time had a rate of 0.2 on the specified dates (I haven't attached this model, but I've attached the spreadsheet Marketdummy3). There were still no movements between nodes. 

I also tried selecting the options "use global Region Names" and "Move Nodes to Containers" when importing the pajek graph into STEM, just in case this was why the specified dates and rates were not taken into account. Again, no luck.

If anyone can help, then please let me know! I think this might be a bug, but I thought I would check with you before opening one. I have attached the project I was using and the spreadsheet I used to make the pajek graph. This is the spreadsheet that can be downloaded from the wiki and used to produce a net file in Libre Office). I have also attached the net files produced. 

Best wishes,


Emily Nixon
PhD Student


School of Biological Sciences
University of Bristol
Bristol Life Sciences Building
24 Tyndall Avenue
Tel +44 (0)117 394 1389
stem-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top