{"id":410,"date":"2014-06-12T12:41:20","date_gmt":"2014-06-12T12:41:20","guid":{"rendered":"http:\/\/www.bvecornwall.co.uk\/wordpress\/?page_id=410"},"modified":"2015-08-03T13:19:59","modified_gmt":"2015-08-03T13:19:59","slug":"bvec_ats-design-details","status":"publish","type":"page","link":"https:\/\/www.bvecornwall.co.uk\/wordpress\/bvec_ats-design-details\/","title":{"rendered":"BVEC_ATS: Design Details"},"content":{"rendered":"<h1>Introduction<\/h1>\n<p>BVEC_ATS is one of a newer generation of cross-platform C# train system simulation plugins for the OpenBVE simulator.<br \/>\nIt&#8217;s been designed to be backwards compatible with trains built for the OS_ATS plugin, as well as building in a considerable number of new features.<\/p>\n<p>The source code has been released under the BSD 2-clause license- This plugin uses code derived from the original OS_ATS plugin, which was released under a rather unclear open-source license, as well as code derived from public domain work by Anthony Bowden and Odyakufan.<br \/>\nAs such, I felt it was unfair to release under public domain, or a strong copyleft license, and hence ended up with the BSD 2-clause as what I consider to be a reasonable compromise.<\/p>\n<p>The plugin has been designed to be largely modular, aiming to simulate most major train systems in at least a passingly realistic way.<\/p>\n<p>Backwards compatibility is intended to be largely automatic- Simply place <em>BVEC_ATS.dll<\/em> into your train&#8217;s folder, alter the <em>ats.cfg<\/em> file, and the plugin will automatically read the existing <em>OS_ATS.cfg<\/em> file, and generate a replacement.<br \/>\nTrains using non-standard key assignments will need these to be entered manually.<br \/>\nBVEC_ATS does not currently support a &#8216;default&#8217; configuration- You will either need to provide a basic configuration file containing one traction type, or an <em>OS_ATS.cfg<\/em> file to be upgraded.<\/p>\n<h1>Design Philosophy<\/h1>\n<p>This plugin has been designed as a series of abstract &#8216;devices&#8217;, each representing a different system or set of systems simulated.<br \/>\nEach &#8216;device&#8217; has a set of unique configuration attributes, which should be placed in the appropriate section of the <em>BVEC_ATS.cfg<\/em> file.<\/p>\n<p>Different devices may interact with each other, and power and brake interventions are made via the <strong>TractionManager<\/strong>.<\/p>\n<p>Safety systems such as the AWS and TPWS may generally be isolated (disabled) if they are not currently in an alarm state.<\/p>\n<p>Failure modes are not currently simulated.<\/p>\n<h1>Panel &#038; Sound Indices<\/h1>\n<p>As per OS_ATS, this plugin supports a range of fully customizable panel and sound indices, as opposed to using fixed variables.<br \/>\nEach of these may be set to any integer between <strong>0<\/strong> &#038; <strong>255<\/strong>, or <strong>-1<\/strong> for disabled.<\/p>\n<h1>Beacons- Safety &#038; Traction Control<\/h1>\n<p>BVEC_ATS supports both the OS_ATS standard beacon set, and most of the extended UKTrainSys beacon set. (Beacons pertaining to the AI guard are not currently supported)<br \/>\nThese are described fully on the beacons page:<br \/>\n<a href=\"http:\/\/www.bvecornwall.co.uk\/wordpress\/bvec_ats-beacon-types\">http:\/\/www.bvecornwall.co.uk\/wordpress\/bvec_ats-beacon-types<\/a><br \/>\nAlternatively, please see the UKTrainSys documentation:<br \/>\n<a href=\"http:\/\/railsimroutes.net\/libraries\/uktrainsys\/release_notes.html\">http:\/\/railsimroutes.net\/libraries\/uktrainsys\/release_notes.html<\/a><\/p>\n<h1>Download<\/h1>\n<p>The most recently compiled version may be found here:<br \/>\n<a href=\"http:\/\/www.bvecornwall.co.uk\/downloads\/beta\/BVEC_ATS.zip\" target=\"_blank\">http:\/\/www.bvecornwall.co.uk\/downloads\/beta\/BVEC_ATS.zip<\/a><\/p>\n<h1>Source Code<\/h1>\n<p>The source code for BVEC_ATS is available on Github:<br \/>\n<a href=\"https:\/\/github.com\/leezer3\/bvec_ats\" target=\"_blank\">https:\/\/github.com\/leezer3\/bvec_ats<\/a><br \/>\nBVEC_ATS has been developed using Visual Studio 2010, but should equally compile with SharpDevelop &#038; MonoDevelop.<\/p>\n<h1>Configuring The Plugin<\/h1>\n<p>Please see this page for a full description of the configuration file, and all supported attributes:<br \/>\n<a href=\"http:\/\/www.bvecornwall.co.uk\/wordpress\/bvec_ats-configuration\/\">http:\/\/www.bvecornwall.co.uk\/wordpress\/bvec_ats-configuration\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction <\/p>\n<p>BVEC_ATS is one of a newer generation of cross-platform C# train system simulation plugins for the OpenBVE simulator.<br \/> It&#8217;s been designed to be backwards compatible with trains built for the OS_ATS plugin, as well as building in a considerable number of new features.<\/p>\n<p>The source code has been released under the BSD 2-clause license- This plugin uses code derived from the original OS_ATS plugin, which was released under a rather unclear open-source license, as well as code derived from public domain work by Anthony Bowden and Odyakufan.<br \/>  [&#8230;]<br \/><a href=\"https:\/\/www.bvecornwall.co.uk\/wordpress\/bvec_ats-design-details\/\">&raquo; Continue Reading.<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"page-templates\/full-width.php","meta":{"footnotes":""},"class_list":["post-410","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.bvecornwall.co.uk\/wordpress\/wp-json\/wp\/v2\/pages\/410","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bvecornwall.co.uk\/wordpress\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.bvecornwall.co.uk\/wordpress\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.bvecornwall.co.uk\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bvecornwall.co.uk\/wordpress\/wp-json\/wp\/v2\/comments?post=410"}],"version-history":[{"count":0,"href":"https:\/\/www.bvecornwall.co.uk\/wordpress\/wp-json\/wp\/v2\/pages\/410\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.bvecornwall.co.uk\/wordpress\/wp-json\/wp\/v2\/media?parent=410"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}