Jump to content


  • Posts

  • Joined

  • Last visited

About AGarcia


Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

AGarcia's Achievements


Newbie (1/14)



  1. Hi, I was using a previous version. I was able to rebuild the model and it just works fine. I have implemented the extra logic along with what you did and works just fine. Thank you so much for your time and your experience (and your patience). Best regards,
  2. Hi, Thank you so much for taking the trouble of creating the doc document! I am afraid that the three first images refer to the same step (first Search), and the properties of Decide1 and Assign1 cannot be seen. I have tried to open the model with the academic licence I have and have the same issue (I am using in 8.139.13727 release). Sorry for the inconvenience and many thanks for your help. Best regards,
  3. Sorry I am having some troubling with the licence. I will try to fix this first and will let you know. Many thanks.
  4. Hi, Many thanks for spending the time to redo it. I am trying to open it and have a compatibility issue. I just downloaded the lastest version but it seems not to work. My version is 8.139.13727 (32bit) and running a full commercial version. Although this goes beyond my initial post, do you have a clue or I might do to open yor model. Best regards,
  5. Hi, Many thanks. Might it be the case that you have uploaded the file I already uploaded? Best regards,
  6. Hi, many thanks for your interest. I have created a new and simplified versión of my issue with a commercial version (attached). Entities flow along a series of servers. The user will select a server so that every time an entity is processed in that server a user defined event will be triggered. For that the model contains: • Source, servers, sink and an entity. • An object list containing all server names (lstServers) • A list property (rpSelectedServer). • A process that it’s called within the entered add-on process of every server. • A state (stRowInList) that will get the number row in the list that contains the name of the server corresponding to the server when the process is run. When an entity is processed, by means of Process1, I can get the number in the list corresponding to the server that just processed the entity. What cannot do is how to compare the element in that row of the list with the value of the property containing the element in the list. Many thanks for your assistance. Regards, simple_example.spfx
  7. Many thanks for your interest and your post. I understood the reason why it is not working. Since I am comparing a name and a number. I tried with the double search. In the first search through the list i getto store the index found corresponding to the station where the entity is, but I could not figure what to do in the second search. If you could provide me with some help, I would appreciate. Regards,
  8. Hi, Many thanks for your reply. I have created a Seach step that searches through the list lstStations with the Match Condition candidate.Object.Name == ModelEntity.Location.Parent.Name and I get Station8, wich is the object were the entity is. I would like to compare this with the value of rpSynchroStation, but this I am having trouble with. Many thanks, anyways. I am aware that if you cannot open the model, it is not easy to figure what my issue is. Regards,
  9. Hello, This model corresponds to an assembly line for three models. ModelA and ModelB are processed from Station1 to Station9 and the leave the line. ModelC must have additional work, which is to be done in Auxiliar (in between Station 8 and Station9), so that it leaves the line after Station 8and gets back to Station9 after the extra operations. A sucbomponent must be ordered in advance to be integrated to ModelC in Auxiliar. The logic I want to implement is the following. I have a list containing all stations (object list lstStations). A list property pointint to that list (rpSynchroStation). For every output node of every station, I want to check if the list property coincides with the name of the corresponding station (and if it's model C in that station). If so, an event is triggered, and a source corresponding to the supplier produces a part that will be delivered some time later. The problem I am having is within the decide step, when comparing: ModelEntity.Location.Parent.Name == rpSynchroStation && ModelEntity.EntityType == ModelC In Decide2 step in procCheckIfSynchro process. I get an error when comparing ModelEntity.Location.Parent.Name == rpSynchroStation. Could you please help me with this? Many thanks Best regards, model_tractors.spfx
  10. Hi, I would like to model the following. Having information stored in every entity instance containing the information to a set of tasks that can be performed to that entity and, whether they have been performed. I have created a model. There is a set of entities that will enter the model. This is stores in a table (allEntities). Some tasks can be done to entities. This is in another table (allTasks). Every single entity will have several tasks associated among all possible tasks. This is in a third table (infoEntities). When an entity enters the model, I would like each of them to have that information and, as those tasks are done, keep some record that they have been done. I have created a repeat group property within the ModelEntity object to grasp info from infoEntities table and the make use of it. But I have not been able to make it work. Could you provide me with some hints to progress? A model and a document with images is attached. Many thanks. description.pdf model.spfx
  11. Hi, I have a problem when that I describe bellow in full detail. I have seen a simbit which is similar to my issue but do not know how to extend it. I have uploaded the model the description refers to. Your help is highly appreciated. Regards, Overview The idea is to allow the user choose the processing time for a server but not his entering the experssion himself, but by means of some intermmediate option. In particular, the user is have two options: ‘regular’ or ‘reduced’ for the processing time. According to the user’s pick, regular and reduced will lead to specific expresions contained in a table. The model There are three objects: • Source1 (default values from the estándar library) • Server1 (the processing time is to be chosen by the user) • Sink1 (default values from the estándar library) List There is a String List (named strUserOptions) containing the user can choose from, and contains two ítems: “Regular” and “Reduced”. Properties There is a List Reference Property rpUserOption, whose list is strUserOptions, so that the user can pick one of the above mentioned ítems. Its Display Name property is “Server Processing Time Speed” Table There is a Data Table (tabUserOptionInfo), with two columns: • Column 1 (name UserOption), List Property = strUserOptions • Column 2 (name ProcessingTime): Expression, Unit Type = Time, Default Units = Hours The table has two rows, as follows: Regular random.exponential(5) Reduced random.exponential(4.5) The objective My intention is that the user chooses either Regular or Reduced from the model property window and the corresponding value for the Server Processing Time is chosen for Server1 case_unsolved.spfx description.docx
  12. Hi, I have created a simple object to which I may add more complexity in the future. It is a batch server, which processes a certain amount of entities in a batch. It has the following properties: - Input and Output Buffer Capacities - Batch Size - Processing Time. I wanted to share it in case any one can debug it or make use of it. Regards, batch.spfx
  13. Many thanks for your reply. I do have a step assign after the search step. That I had. I tried modelEntity.Population.Name == tabPartsInfo.EntityType.Name but I got the following error (at the bottom). I am attaching the model. It is kanban model and the problem is related to the process procAssignColorStringAndPicture which is called from input@MachiningGears Many thanks for your guidance. Error Item: modelEntity 'gear.63' A runtime error was detected at time 0.0 Hours at the following process step: Object: Model Process: procAssignColorStringAndPicture Token: Token.11 Step: [search] SearchPic Step Property: Match Condition Error evaluating the value of property 'Match Condition'. Item: modelEntity 'gear.63' A runtime error was detected at time 0.0 Hours at the following process step: Object: Model Process: procAssignColorStringAndPicture Token: Token.11 Step: [search] SearchPic Step Property: Match Condition Error evaluating the value of property 'Match Condition'. Invalid operation because types of operands must match. Both must be numeric or string. modelo_kanban_20131121.spfx
  14. Hi, I am having some trouble with the search step. My model has three entities (instances of the Default Entity): • Gear • Housing • Pinion Entities have a string property called stColor I have a table, tabPartsInfo, where I have the following fields • EntityType (object reference property) • Color (string property) • Picture (integer) Every row of this table contains the combination of what picture should be assigned to every type of entity according to their color. For example picture 1, might mean white for gears but blue for pinions. Entities of each of the types enter the model and are given a value for stColor. After that I want to use the search step so that I find the row where • EntityType is the corresponding entity and • Color is the corresponding stColor for that entity. I have configured the step search as follows Collection Type: TableRows Table Name: tabPartsInfo Match Condition: modelEntity.stColor==tabPartsInfo.Color && modelEntity = tabPartsInfo.EntityType Although diffent values for stColor are given to entities, the picture does not change. I hope you can provide me with some help. Regards,
  • Create New...