CMTM 2 not loading

OK Mike,

Back to my previous question. Lets start with just two cars. Where will they be located on start-up and what will their first, second & possible third or more destinations be?

A second question - what are the names of your portals? Spelling is important and must be exact.

Third question - What are the types of these two cars we are working with?

David
 
two cars.... let's start by doing one car, because that works ok. five days a week a box car full of widgets has to go to the autoparts factory. it's coming in on interchange. the layout has 'portalinterchange', 'local' and 'ecs'. there is a stretch of track which is not portal and not local or ecs. the boxcar is named and numbered, and has a cousin in st. louis but hasn't seen her for awhile.

so, 40ftboxcaraa1288 "40ftBoxcarAA1288"

cmtm1 "12345xx,?,XBG,AA,AUTOPARTS,load,widget,x,x,x,x ,x'"

so, where should i put this car on the actual physical basic layout -- which track? -- before i go into driver? ...where must it need to be in order to get noticed?
 
let's start by doing one car, because that works ok. five days a week a box car full of widgets has to go to the autoparts factory. it's coming in on interchange. the layout has 'portalinterchange', 'local' and 'ecs'.

Here is the worksheet from the manual
Industry Analysis Worksheet
Here is a sample format for a worksheet I use to create the Industry Analysis. I just do this on a lined yellow tablet. I put the heading on the first page, and after that it just comes natural.
Location
Code . . . . . . . Industry Name
APF 1________ _autoparts factory track 1 ___________________________
Input . . . . . . . . . . . . . . . . . . . . . . . . Load/Unload
Product . . . . . Car Type . . . . From . . . . .Time . . . . . .To . . . . . . . Days
__widgits_____ _XBG___ Portalinterchange _3____ ____????____ _12345xx__
_____________ ________ __________ __________ ___________ __________
_____________ ________ __________ __________ ___________ __________
_____________ ________ __________ __________ ___________ __________


the record would look like this

cmtm0 "12345xx,Portalinterchange,XBG,x,APF 1,load,widgits,3,????,empty,x,x"

In english a boxcar will arrive on Portalinterchange destinted to autoparts factory on days 1, 2, 3, 4 and 5. This boxcar will be loaded with widgets. After it has been delivered, it will take 3 hours to unload. Then its destination will be ???? as an empty car.

Now, if you place a boxcar on the track where the "Local" trackmark is located, this record should be assigned to that car. It can be any car that has a category-class of XBG. This movement record will be used once.

If you do not put a boxcar on the "Local" track, this record will be assigned to the first boxcar the is emitted from the Portalinterchange.

David

PS: CMTMSystem2 assigns movement records in the order they are found in the config file. CMTMSystem3 has added capability where you can specify that a movement record will be used at a specific location or for a specific train that is emitted from a portal.
 
Last edited:
yes, it's very pretty,and i've done all the setup correctly. sadly, when i load in driver, i get a system error. obviously, something is corrupted on my end. i'm going to re-struct today, and i'll start by cloning cmtm2portal. i tried building a new route out of my existing clones, but it system'd red-light -- do you know what i'm talking about? it's that red dot in my route-image which i posted.

again, using a cmtm2 portal causes a system problem.
cmtm2portal ( my clone ) is available in surveyor ( isn't red in the list. )
left-clicking a hopper on the route ( for example ) shows the hopper having the destination which the tank car ought to have. the tank car, however, shows no info.

this, of course, is why i was asking you where the cars should be placed... that is, i was getting these errors and trying to understand why.

i'll let you know if i can get it running.

mike
 
Given this data, where might I expect to find the XBG when I load this as driver-session? That is, what exact track or place on the layout will there be a loaded boxcar waiting?

[ entered in sys file: ]

cmtm0 "123xx67,nederlandcmtmportal2 1,XBG,x,Factory,load,general-goods,x,x,x,x,x"


[ the route file: ]


kind "profile"
kuid <kuid:56468:100164>
username "Nederland RR"
description
map-kuid <kuid:56468:100161>
category-class "YP"
category-region
category-era
trainz-build 3.3

kuid-table
{
0 <kuid:56468:100161>
}

string-table
{
nederlandcmtmportal2_1 "NederlandCMTMPortal2 1"
local "Local"
ecs_1 "ECS 1"
factory "Factory"
}

[ the sys file: ]

extensions
{
cmtmdata-soup-32711
{
ecstracks "ECS 1"
numrecs "1"
localtracks "Local"
cmtm0 "123xx67,nederlandcmtmportal2 1,XBG,x,Factory,load,general-goods,x,x,x,x,x"
}
}

kuid-table
{
sessvar <kuid:-3:10197>
general-goods <kuid:-3:10013>
}
kuid <kuid:56468:100159>
 
I beg of you. Please read and follow the instructions in the manual.

From the CMTMSystem2 Manual, Page 7
Beginning Location - This field is the name of the portal from which the car enters the railroad OR the Empty Car Storage track from which it begins its journey. If it is a Portal, the name must begin with “Portal” followed by a unique identifier such as “PortalWest”. This must be the EXACT name given to the portal in Surveyor. If it is an Empty Car Storage track, the name must start with the prefix “ECS” followed by a unique identifier such as ECS HURON. This must be the EXACT name given to the ECS track marker in Surveyor. This name must be all CAPS.

Furthermore, you must understand the difference between a "local record" and a "thru record" - see previous posts.

The record you just created
cmtm0 "123xx67,nederlandcmtmportal2 1,XBG,x,Factory,load,general-goods,x,x,x,x,x"
, if the Portal name were constructed correctly is a "thru record" and as such, would be applied to any freight car on the route because it is a "thru record".

If you were to give this record a second destination, it would become a "local record" and as such, would only be assigned to a car on the stretch of track where the "Local 1" trackmark is located.

Also, be aware of the difficulties of cloning an existing route. Library applications such as CMTM are persistant and stay with a route, even if you delete the Portal to which it was attached. If you then install another CMTM portal on the cloned route, you will have two CMTM library systems running which can cause all kinds of problems.
 
i've noticed these problems, on a couple of routes i've since worked with and deleted. but, most of my problems come from saving and having the route-save override the session save. the entries i showed were cut and paste out of the demo route, with my portal subbed in. i'm working this out for myself, and it's one route at a time until i get it right. if i don't get it, i'll just play 'rails across america' for a week and come back to it with a revived feeling for route and rail.

mike
 
OK, i think i've got it figured out, figured out what I was doing wrong when I jumped into run-Trainz from the content manager, i'd sometimes forget to commit an open edit -- sometimes ( not always, ) that edit wouldn't be committed, wouldn't show up in the drive-session i'd just loaded. Which means that something like a portal-rename hadn't taken effect. Straightening all that out, I'm getting CMTM2 to work. Big relief, because i really like operations.

One thing I need to know is how to make the factory order more than one Boxcar with the same load, on a given day?
 
Mike,

Glad to hear you got the bugs worked out of your process. Keep in mind that there is one local movement record for each car for local service. If you want two cars - make two identical records. If your industry needs 10 cars a day, like my power plant, I have ten identical records to get coal to the plant each day.

David
 
but, if i add two records, won't they affect every instance of boxcar on the layout? that is, suddenly four boxcars are all destined for factory -- four loaded boxcars? and, i can see where if two were unloaded that it would re-set the count... or not? but, what if i also have two calls for widgets at another factory, in addition to the two calls for 'what's-it's' at the first factory?

there is no 'factory' module, is there, where the needs of the factory has its own calculation-set? and, one where the factory could put out a notice to CMTM with a 'get' function -- varying day to day?
 
One local record per car. If you have 4 local records and only put out 3 cars on the local track for start-up, the forth record will be used at the Portal for which it was intended and will be assigned to the appropriate type of car when it is emitted.

Industries are not interactive. No need to figure out how to program them. A simple trackmark marks an industry location. All the factory's needs are preplanned using the worksheet outlined in the manual. Load/unload times are not instantainious but reflect the real world where it take hours and even days to complete the load/unload process.

We are trying to simulate the real world with CMTM. In the real world, shipping is producer driven. When a factory needs to make a shipment to a customer, it contacts the railroad agent and fills out the appropriate paperwork. The railroad locates an empty car and delivers it to the producer. The producer loads it and then railroad delivers it to the producer's customer. And all this is done within a fixed operating plan that includes grouping cars to common destinations in a yard and running regularly scheduled trains. The freight car may be passed from one railroad to the next to finally get to its proper destination.

If you want to learn more about prototype operations, check out http://www.opsig.org/
 
Back
Top